试试这个:<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.jsp</location>
</error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.jsp</location>
</error-page>
解决方案 »
- org.hibernate.PropertyAccessException 各种报错 头大了求解
- JDO的关系问题
- org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-
- The server encountered an internal error () that prevented it from fulfilling this request. 高手求救 我哪里错了
- (Hibernate)session的saver()方法问题一则
- 请问一个TOMCAT的问题?
- 请教tomcat怎样设置post大小.我发附件时文件太大就会出现异常.
- 在线调查:“现在你公司使用那种报表开发工具?”
- 帮忙看看这个问题?急
- Java 错误the declared package dones not match the expected package ""
- webwork result 结果中如何使用anchor锚点
- 请问Hibernate 映射生成Java类要怎样配置?
中文文档,很详细
<interceptors name="exception"
class="com.opensymphony.xword.interceptor.ExceptionMappingEnterceptor">
.....
</interceptors><result name="exception">/error.jsp</result>