Here can i use RequestDispatcher view = getServletContext().getRequestDispatcher("result.jsp") or would it give me an error..saying the location has to start from root ??;
you get a RequestDispatcher in two ways from the request or from the context. With the servlet context you MUST include the foward slash because you can't specify a path relative to the current resource (the one that received this request.
Hope this helps.
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
New web page for Paul's Rocket Mass Heaters movies