j***@usmint.treas.gov
2006-11-03 22:15:47 UTC
I am coming from a Tomcat world where creating an error page for exception types is as easy as adding the following to the web.xml file:
<error-page>
<error-code>500</error-code>
<location>/servlet/ExceptionHandlerServlet</location>
</error-page>
If I want to create custom error pages in WAS do I do it the same way (updating the \workspace\Stores\Web Content\WEB-INF\web.xml file) or is there an Websphere specific way of doing this (such as through an interface)?
Thanks,
Jim
<error-page>
<error-code>500</error-code>
<location>/servlet/ExceptionHandlerServlet</location>
</error-page>
If I want to create custom error pages in WAS do I do it the same way (updating the \workspace\Stores\Web Content\WEB-INF\web.xml file) or is there an Websphere specific way of doing this (such as through an interface)?
Thanks,
Jim