Hi all,
When we define error page in the web.xml,
All I am getting is stack trace in the error.jsp because I am passing the
exception and printing that in the error.jsp
How do we know which error-code is causing the problem or how do we display
the error code in the error.jsp page???
<error-page>
<error-code>500</error-code>
<location>/error/error.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error/error.jsp</location>
</error-page>
<error-page>
<exception-type>javax.servlet.ServletException</exception-type>
<location>/error/error.jsp</location>
</error-page>
Can some one shed some light??
Thanks - srini.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]