Hello,
I have a problem with the requestdispatcher.
Under webapps --- I have onefolder called test1 --webapps--classes--servlet1.java
Another folder is test2 --webapps--classes--mypage.jsp
I need to do a getRequestDispatcher(path).forward(req,res) in the servlet1.java. I
have to dispatch
Koustubh,
You need to use the getContext() method of javax.ServletContext instead of
getRequestDispatcher()
getContext
public ServletContext getContext(java.lang.String uripath)
Returns a ServletContext object that corresponds to a specified URL on
the server.
This method allows servlets to gain
To: [EMAIL PROTECTED]
Sent: Wednesday, March 29, 2000 3:23 PM
Subject: 'RequestDispatcher' Problem
I am trying to run an example JSP/Servlet application. The
application
starts by requesting 'EShop.jsp'. This page allows the user to shop
for
items. On the submit, a serv