Howdy,
I guess you too are not a big fan of reading the spec? ;)  See
SRV.9.9.1.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
>Sent: Monday, July 21, 2003 2:54 PM
>To: 'Tomcat Users List'
>Subject: Error Page Status Code
>
>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]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to