Hi my professional Friends
I have a jsp and a servlet(IDE: Oracle9i Jdeveloper).
**senario:
1-submiting a request from jsp to servlet, using the following address:
servlet/Pkg_Servlets.Srv_Srv1
2-dispatching the recieved request to the very same jsp again:
RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher("/untitled1.jsp");
dispatcher.forward(req, res);
3-Again,repeating the stage number 1
**Problem:
For the first time the JSP finds Servlet but for the second time after no-3 I get ERROR since there is an extra "servlet" attached to the servlet's url like this:
Resource /Workspace1-Project1-context-root/servlet/servlet/Pkg_Servlets.Srv_Srv1 not found on this server
Thank you for any hint and advice.
Best Regards,
Pourang
[ December 17, 2002: Message edited by: Pourang Emami ]
I have a jsp and a servlet(IDE: Oracle9i Jdeveloper).
**senario:
1-submiting a request from jsp to servlet, using the following address:
servlet/Pkg_Servlets.Srv_Srv1
2-dispatching the recieved request to the very same jsp again:
RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher("/untitled1.jsp");
dispatcher.forward(req, res);
3-Again,repeating the stage number 1
**Problem:
For the first time the JSP finds Servlet but for the second time after no-3 I get ERROR since there is an extra "servlet" attached to the servlet's url like this:
Resource /Workspace1-Project1-context-root/servlet/servlet/Pkg_Servlets.Srv_Srv1 not found on this server
Thank you for any hint and advice.
Best Regards,
Pourang
[ December 17, 2002: Message edited by: Pourang Emami ]