I think you need to specify the full virtual path of errorpage.jsp while defining the 
errorPage attribute in main.jsp

-----Original Message-----
From: Gading [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 11:00 AM
To: [EMAIL PROTECTED]
Subject: Error page


Hi all,

I have 2 page one is main and one is for error page.

main.jsp

<%@ page errorPage="errorpage.jsp" %>
<!-- plus some code -->

errorpage.jsp

<%@ page isErrorPage="true" %>
<!-- plus some code -->

When there is error in main, it doesnt redirect to errorpage.js, but shows
internel server error (500).

I'm using Orion 1.54

Am i missing something?
Thanks.

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to