Cookie教程
Session
浏览器与服务器交互信息的获取
Servlet域对象的生命周期及使用
HttpServletRequest接口和HttpServletResponse接口常用方法总结
404和500错误解决方法
WEB开发路径使用方式总结
实战:登录操作结合Session

404和500错误解决方法

<error-page>
		<error-code>404</error-code>
		<location>/error/error_404.html</location>
	</error-page>
	<error-page>
		<error-code>500</error-code>
		<location>/error/error_500.html</location>
	</error-page>
	<error-page>
		<exception-type>java.lang.NullPointerException</exception-type>
		<location>/error/error_exceptionByNull.html</location>
	</error-page>

 

全部教程