WAS5.1中配置error-page不起作为是什么原因
一、error-page中配置了404错误,如下:
<error-page>
<error-code>404</error-code>
<location>/errors/404.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/errors/500.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/errors/exception.jsp</location>
</error-page>
二、位置正确,在Tomcat5.0和WSAD开发环境中,都起作用。
但是一放到WAS5.1下发布,就不起作为,希望大家给我帮助。