You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Edilmar Alves <ed...@intersite.com.br> on 2001/06/11 13:44:19 UTC

Where do you deploy JSPs used in Servlet forward()?

Hi,

I have an application with a Servlet command processor
and business logic, and many JSPs for user interface.

When I'm using JBuilder 4 Ent + Tomcat 3.2.1 to run
the app, all works fine. The Web Server is NT4 +
Apache 1.3.12 and Tomcat is running on port 8080.

However, when I try to deploy for a directory tree like
this, the JSPs are not found:
\ecommerce (HTMLs)
\ecommerce\images (GIFs/JPGs)
\ecommerce\web-inf (web.xml)
\ecommerce\lib (servlet JAR file)
where do I put the JSPs?
I tried at:
\ecommerce
\ecommerce\web-inf
\ecommerce\web-inf\lib
and none of them work.

If I put the URL:
http://localhost:8080/ecommerce/onefile.jsp
it works, but if I put this path on servlet forward(),
it doesn't work.