Hi all ,
i want to forward the control from a servlet to a jsp file using
RequestDispatcher.
the following code works:-
RequestDispatcher rd=request.getRequestDispatcher("finyear.jsp");
rd.forward(request,response);
and this does not work:-
RequestDispatcher rd=getServletConfig().getServletContext
().getRequestDispatcher("finyear.jsp");
rd.forward(request,response);
can any one please tell me why?
Thanks in advance
Bopanna
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)