Hi sitaram,
To call Jsp Error page from servlet you need to do a trick.
First of all we should know
If the source of the exception was a JSP page, the Web container also stores the exception as a request attribute called "javax.servlet.jsp.jspException" So if you want from Servlet to JSP-Error-Page then you have to set the exception in the same way as the Web Container does ie in the catch block you set : request.setAttribute("javax.servlet.jsp.jspException");
then use RequestDispatcher to forwrd to your error page
Remeber: You will get an
IllegalStateException if you had opened OutputStream or PrintStream before forwarding