Don, If you don't have it there already, maybe you need to add the error page information to your web.xml file. This diagram (section 4) has a nice visual representation of the dtd: http://www.javaranch.com/carl/scwcd/servlet2.3dd.jsp
I can't get Sun's descriptor to load, but I believe it's http://java.sun.com/dtd/web-app_2_3.dtd. Hope that helps, g. -----Original Message----- From: Donald J. Zijm [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 4:10 PM To: [EMAIL PROTECTED] Subject: Re: Error Response Page Chris, <%@ page isErrorPage="true"%> is in the error.jsp page so I so I don't think this is the answer to the problem Thanks for your response Don -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Pratt Sent: Monday, March 11, 2002 12:53 PM To: [EMAIL PROTECTED] Subject: Re: Error Response Page Make sure your error.jsp page includes the proper JSP header: <%@ page isErrorPage="true"%> (*Chris*) ----- Original Message ----- From: "Donald J. Zijm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 3:36 PM Subject: [JSP-INTEREST] Error Response Page > Hi All, > > I am trying to get an error response page to work without much luck. > > Here is what I have: > > My index.jsp page has the following line of code > > <%@ page errorPage="error.jsp" %> > > when an error occurs I want my "error.jsp" page to load and display the > error. > > My "error.jsp" page looks like this: > > <html> > <head> > <title>Error</title> > </head> > > <body bgcolor="#FFFFFF"> > <%@page isErrorPage="true" %> > <%@page session="false" %> > <p align="center"><font face="Verdana, Arial, Helvetica, > sans-serif"><b>Sorry! > The following Error Occurred:</b></font></p> > <%= exception.getmessage() %> > <p align="center"> </p> > </body> > </html> > > Problem is I can't get this page to load when I create an error in my > index.jsp page. > > Any Ideas? > > Thanks in advance. > > Don > > > > ____________________________ > Luminous Solutions LLC > > Donald J. Zijm > [EMAIL PROTECTED] > www.luminoussolutions.com > PO Box 595 > Totowa, NJ > 07511-0595 USA > > Phone: 201-678-1965 > Mobile: 201-390-5585 > > Associate Member of the FileMaker Solutions Alliance > ____________________________ > > =========================================================================== > 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 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.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
