The errorPage works for runtime exception (exception thrown while processing the request). What you have is a compile-time error (error occurred while converting your jsp to servlet).
Jerson -----Original Message----- From: Jan Aren� [mailto:jan.areno@;HOME.SE] Sent: Tuesday, November 05, 2002 8:31 AM To: [EMAIL PROTECTED] Subject: errorPage Hi I have a problem. I'm trying to use the <%@ page errorPage="error.jsp"%> on my page. This is the code <%@ page errorPage="error.jsp"%> <% if(5(0 > 5) { out.println("testar"); } %> Of course this generates an error and i'm thrown to the error.jsp page... But if I change the test page to: <%@ page errorPage="error.jsp"%> <jsp:useBean id="conn" class="UnknownBean"/> and UnknownBean is a non excisting class, I get an error and is not thrown to the error.jsp page, why not? [ERROR MSG] oracle.jsp.parse.JspParseException: Line # 2, Error: Unable to find class for bean: conn defined by tag with class: UnknownBean I'm running an Oracle with an preinstalled Apache/TomCat(?)/JSP server... Sometimes when I change some of my jsp files or update my class files the PATH is going down for some pages and they cant find their beans. I need a errorpage that tells me that this have happend but I can't figure out how. If the errorhandler can't handle missing classes, how do I make a check that reports to me when and if I loose my beans? Thanks for any help -Jan =========================================================================== 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
