I am trying to migrate a legacy web application consisting of JSPs to Tomcat.
This application currents works in JSWDK and JRun.
The paths to resources (such as JSPs, images, style sheets, etc.) are given
as absolute paths that include the context name ("awi"). For example,
a JSP refers to an image as "/awi/images/xyz.gif" and to another JSP
as "/awi/someDir/abc.jsp". When this application is installed as webapps/awi for Tomcat
the web server treats "webapps/" as its root while the servlet engine treats
"webapps/awi/" as the application's root. This implies having to make a lot
of changes in how the paths are specified. The paths that are handled by the
servlet engine must be changed to "/someDir/abc.jsp" while the other resources must
be preserved as "/awi/images/xyz.gif", etc. Is there a better way to migrate this
application?
--
Thanks in advance
Jacob
-----Original Message-----
From: Nico Seessle [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 22, 2000 9:17 AM
To: [EMAIL PROTECTED]
Subject: Re: Project name
----- Original Message -----
From: "Dennis Brake" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 22, 2000 2:01 PM
Subject: RE: Project name
> This didn't work for me. What version are you using?
>
Maybe this way added after the 1.2-release. You might try one of the nightly
builds.
Nico
