tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject (Tomcat 4.0.4) and (Forte4 with Tomcat 4.0.1) and Struts
Date Fri, 21 Jun 2002 18:42:59 GMT

Sorry for the simple questions:

Correct me if I am wrong, but I am under the impression that If  I develop a
simple web app in Forte, I  should be able to drop it into a similar version
of standalone tomcat and have it run.
In fact I would like to place my working web app directory under webapps of my
local Tomcat install and also mount this same web app with forte and use the two
servers at the same time( not to run at the same, but to be able to fire the
other one up with dragging the code around).
This seems to work fine but....

The reason this post is I had to change some url's in my code to get my app from
forte(tomcat4.0.1) to work in Tomcat 4.0.4

With an Image Tag:
In Forte:   <img src="/img/nlg.jpg"
TC 4.0.4 : <img src="../img/nlg.jpg"

In my index page:
The links
Forte: - Both work
<a href='login/login.jsp'>Login</a>
<a href="/login/login.jsp">Login</a>

Tomcat 4.0.4 - only this works
<a href='login/login.jsp'>Login</a>

of course my web app is:

What am i missing?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message