I have a bizarre issue.  Using Tomcat 5.0.12, I have an application in
the directory C:\jakarta-tomcat-5.0.12\webapps called ChargeCard. 
After loggin in, I am trying to forward a request to jsp page in that
directory.  However, RequestDispatcher apparently uses the directory
C:\jakarta-tomcat-5.0.12\webapps\ROOT as the Document root, so I need
to go up a directory in my forward request (something like url =
"../ChargeCard/index.jsp";)  However, RequestDispatcher requires a /
to start off the url, so I can't use the ../ start to go up a
directory.  Does anyone have an idea how I would do this?  I tried url
= "/../ChargeCard/index.jsp";, but that results in a
NullPointerException being thrown.  All help is appreciated!
-- 
Xeth Waxman
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to