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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to