my question is i am having one jsp page and through this request i have to send control to the servlet page like error page but that page should be servlet that is from jsp
I guess that he want to use error page through servlet before to actual jsp error page if errors occured. (normally declared by <%@page ... errorPage="xxx.jsp">
by this means you have to capture all error from your selvlet then use dispatcher to error page you want.
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
a bit of art, as a gift, the permaculture playing cards