You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Billy V. Kantartzis" <vk...@essex.ac.uk> on 2002/08/18 16:57:37 UTC
forwardinf from a servlet path context
hi listers ,
i need am tryin gto forward from a servlet to a jsp in a deferent path
here is the tree structuere
dms(application root )
|-- jsp (the path of the jsps)
|-servlet
| |
|-dms (package with servlet)
|
servlet
|
TestServlet the servlet
this is what i do
RequestDispatcher des=getServletContext().getRequestDispatcher(
/dms/jsp/index.jsp");
des.forward(request,response);
as a result i am getting a 404 - page not found error what is wrong with it
?
best regards ,
Billy V. Kantartzis (Msc Ect),
University Of Essex,
wivenhoe park ,
co4 3sq
Clochester,
Essex,Uk
mailto:vkanta@essex.ac.uk
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>