Does anyone know how to capture this error in the domain.xml and open up a custom error page. I have the following in my domain.xml for 'Resource not found' error 404:
<property name="send-error_1" value="path=./Error.jsp reason=Resource_not_found code=404"/>
This opens up Error.jsp when error 404 occurs. However, I have the following for error 500:
<property name="send-error_2" value="path=./Error.jsp reason=Internal_error code=500"/>
This does not work. I have also tried to use the web.xml to direct this error to Error.jsp using:
<error-page>
<error-code>500</error-code>
<location>/Error.jsp</location>
</error-page>
This does not work either. Any ideas?
[Message sent by forum member 'tr702' (tr702)]
http://forums.java.net/jive/thread.jspa?messageID=315335