|Problem setting up web application [message #223160]
||Mon, 27 October 2008 17:46
| Tim Manchester
Registered: July 2009
I have attempted to set up a web application on Eclipse 3.4.1 using Tomcat
and JDK 1.5.03. The problem is that it does not appear that my web project
is being correctly deployed. When I look in the deployment directory, I
only see the Java class files and none of the jsps or config files. As you
would imagine after starting the server I get a 404 error when I go to the
URL where I expect to see the app.
First I create a dynamic web project at compiler compliance level 1.5 and
using the JDK I've mentioned above.
To create the app I move my source code from source code control, so that
I have the following directory structure:
I then add the first 3 directories above as source directories and set the
default output folder to: RentPayment/rentpayment_web/WEB-INF/classes
The context root is set to "RentPayment" (no quotes).
I add my required libs into the
I refresh and build the project.
Then I add a server, selecting the version of Tomcat that I've installed
and add a module that points to the project I've just set up.
I set the server path to RentPayment\tomcat and the deploy path to
The web module docBase is set to "/RentPayment" (no quotes)
So with all of this set up, why isn't my web app being deployed into