requestdispatcher problem

2001-09-07 Thread Warty, Koustubh
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

Re: requestdispatcher problem

2001-09-07 Thread Richard Yee
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

Re: 'RequestDispatcher' Problem

2000-03-30 Thread Boi Ken
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