Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Problem setting up web application
Problem setting up web application [message #223160] Mon, 27 October 2008 17:46 Go to previous message
Tim Manchester is currently offline Tim Manchester
Messages: 3
Registered: July 2009
Junior Member
Hello,

I have attempted to set up a web application on Eclipse 3.4.1 using Tomcat
5.5.25
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:
C:\Projects\RentPayment\architecture
C:\Projects\RentPayment\rentpayment_src
C:\Projects\RentPayment\uiarc
C:\Projects\RentPayment\rentpayment_web


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
C:\Projects\RentPayment\rentpayment_web\WEB-INF\lib directory.

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
C:\Projects\RentPayment\tomcat\webapps

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
C:\Projects\RentPayment\tomcat



Regards,

Tim
 
Read Message
Read Message
Previous Topic:obtain webtools sourcecode - HOW ? cvs does not work ?
Next Topic:How to create a web service client (!) jar archive from Eclipse?
Goto Forum:
  


Current Time: Thu May 23 04:50:55 EDT 2013

Powered by FUDForum. Page generated in 0.13119 seconds