You have to add the code as:
getServletContext().getRequestDispatcher(".....path.....");
Try this instead of request.something.
You could obtain the RequestDispatcher object using the request object too.
Thus
is correct.
The problem in the original poster's code is that he has used Windows style path locator (../resource) to locate the jsp.
This is what the api has to say
The pathname specified may be relative, although it cannot extend outside the current servlet context. If the path begins with a "/" it is interpreted as relative to the current context root.
Thus to locate a jsp resource under the WEB-INF folder, use
If your jsp is registered as a servlet, you could also use the getNamedDispatcher() method of ServletContext
ram.