you can handle errors in tomcat by  this way defining
them in your web.xml.

<error-page>
 <error-code>404</error-code>
 <location>/your_servlet_here</location>
</error-page>

Murali.

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of ralhan
Sent: Wednesday, August 16, 2000 9:48 AM
To: [EMAIL PROTECTED]
Subject: Tomcat Errors


hi,
i can handle the errors in jsp page with isErrorPage.
but not for jsp which are include by include tag.
if error occur in that.that error is not handled in this jsp.
what are the ways for handling this.
also can in tomcat i can handle servlet/jsp errors like ( 500 , 404 &
others ) using some directive like
ErrorDocument in apache.
i am using apache with tomcat on linux 6.2
Regards
ralhan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to