Hi
you can use the following code for your error page.
and later call this page on your JSP page <%@page errorPage="errorpage.jsp"
%> like
this.

<html>

<body>
<%@ page isErrorPage="true" %>

Error: <%=exception.getMessage() %> has been reported.

</body>
</html>

Tasneem Talawala
JSP Developer
[EMAIL PROTECTED]
www.verchaska.com
Verchaska - Helping your bussiness succeed


----- Original Message -----
From: "Chin Sung Kit" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 30, 2000 12:59 PM
Subject: errorpage.jsp


> hi all,
>
> how do i use an errorpage which catches all the exception?
>
> thanks.
>
> regards,
> ced
>
> "Never let yesterday's disappointments overshadow  tomorrow's dreams"
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to