if you're forwarding from the ChargeCard directory, you just have to
include only the name of the page in the forward directive (e.g.
something.jsp or ./something.jsp) the trailing backslash is
directly referring the root context of this host
John Villar
Gerente de Proyectos
Computadores
Hi,
First of all, Xeth is the best name I've seen in a long time -- cool!
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.
shame about the surname lol (sorry xeth just kidding)
ADC
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 17 September 2004 13:17
To: Tomcat Users List; Xeth Waxman
Subject: RE: Traversing up a directory using RequestDispatcher
Hi,
First of all, Xeth
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 17 September 2004 13:17
To: Tomcat Users List; Xeth Waxman
Subject: RE: Traversing up a directory using RequestDispatcher
Hi,
First of all, Xeth is the best name I've seen in a long time -- cool!
I have a bizarre
OK, so apparently I am doing a cross context request dispatcher call,
which is bad. So I shouldn't do that. Assuming my app is under
c:\jakarta\webapps\ChargeCard (context is /ChargeCard), that means my
servlets should be under
c:\jakarta\webapps\ChargeCard\WEB-INF\classes, correct? If that is
You have to enable the invoker servlet, this question comes up *A LOT*
in this mailing list xeth try the better, cleaner, securer way
do a servlet mapping in your web.xml file
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com
Xeth Waxman
]
Sent: Friday, September 17, 2004 11:25 AM
To: Shapira, Yoav
Cc: Tomcat Users List
Subject: Re: Traversing up a directory using RequestDispatcher
OK, so apparently I am doing a cross context request dispatcher call,
which is bad. So I shouldn't do that. Assuming my app is under
c:\jakarta
Hi,
login.jsp in CATALINA_HOME/webapps/ChargeCard (let's call it
APP_HOME). I have moved my servlets from
CATALINA_HOME/webapps/ROOT/WEB-INF/classes to
APP_HOME/WEB-INF/classes. So my question is twofold:
1) from my jsp, how do I invoke the servlet in it's new location?
Prior I was using:
Worked perfectly - tomcat users get soup :)
On Fri, 17 Sep 2004 11:52:48 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
login.jsp in CATALINA_HOME/webapps/ChargeCard (let's call it
APP_HOME). I have moved my servlets from
CATALINA_HOME/webapps/ROOT/WEB-INF/classes to
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
10 matches
Mail list logo