JSP
iteye_3447
这个作者很懒,什么都没留下…
展开
-
JSP的web.xml中配置错误页跳转不显示的原因之一
如果在web.xml中添加了如下代码:<error-page> <error-code>404</error-code> <location>/error404.html</location></error-page> 在找不到指定页时确不跳转到error404.html时,可做如下设...原创 2009-11-17 13:16:58 · 208 阅读 · 0 评论 -
JAVA WEB项目中默认起始页面在web.xml中的设置
<welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <原创 2009-11-24 17:55:29 · 900 阅读 · 0 评论 -
JAVA WEB项目中错误跳转页面在web.xml中的设置
<error-page> <error-code>404</error-code> <location>/error404.html</location></error-page><error-page> <error-code>500</erro原创 2009-11-24 18:15:21 · 227 阅读 · 0 评论 -
JSP页面缓存的去除方法
有两种方法可用在html的head标签内加如下内容:<META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"><META HTTP-EQUIV="Expires" CONTENT=&quo原创 2009-12-04 14:14:16 · 151 阅读 · 0 评论