Try to fix the problem. Have you checked your classpath? -----Original Message----- From: Jan Aren� [mailto:jan.areno@;HOME.SE] Sent: Tuesday, November 05, 2002 10:19 AM To: [EMAIL PROTECTED] Subject: SV: errorPage
And there is nothing I can do about it? The thing is that I run many application on the same server. Sometimes I find one of the application in "errorstate" saying that he can't find a bean-class (that it's been running for weeks) If I restart the server, everything works fine again. The things is that I don't have the time to check all my application all the time and needs to get an notification telling me that a specific application have "failed". Notice that it is just ONE application that stops responding at the time. The others bean-class-paths works just fine... Is there no way to deal with this problem? //Jan > -----Ursprungligt meddelande----- > Fr�n: A mailing list about Java Server Pages specification and reference > [mailto:JSP-INTEREST@;JAVA.SUN.COM]F�r Chua, Jerson > Skickat: den 5 november 2002 15:53 > Till: [EMAIL PROTECTED] > �mne: Re: errorPage > > > 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 > =========================================================================== 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
