Hi
Try this
a) Frist Create a Error page with name errorPage.jsp  having following code

   <body text ="red">
<%@ page isErrorPage="true"%>
Error Found
<%=exception.getMessage()%>
Here
</body>

b) Second add the below line any of the jsp file where error occurs

<%@ page errorPage ="errorPage.jsp"%>

Hope this will help you




At 05:44 PM 22/08/2000 +0530, you wrote:
>Hi friends,
>
>See the code below,
>This following code is in some.jsp file
><%@ page errorPage ="/ib/error/DirectAccess.htm" %>
>
>How can I show the errorPage (exceptions,printStackTrace) in the
>DirectAccess.htm
>
>Thanks in advance
>venna
>
>===========================================================================
>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


Regards :-)
Kanojia Jogesh(Senior Web Developer)
IG Technologies Ltd,Mumbai
We are in Web Development and B2B and B2C Solution provider

===========================================================================
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