I wnat to use requestdispatcher class in
servlets i havread that there is a method in the servletContext which returns a request dispatcher for the current servlet.
i hav used the code
this.getServletContext().getRequestDispatcher()
but this returns an exception saying getRequestDispatcher method not found in the servletcontext class.
i hav tried to use the same method getServletContext along with a response and request objects but it also failed.
if anybody has worked with requestdispatcher successfully please do guide me