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">&nbsp;</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

Reply via email to