aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes web application not visible. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "web application not visible." Watch "web application not visible." New topic
Author

web application not visible.

Sai Swami
Ranch Hand

Joined: Sep 24, 2002
Posts: 51
Hi All,

I am creating a new dynamic web application in Eclipse. It is creating a folder called "WebContent" under the application root directory and under it is the WEB-INF directory. However, when I see the sample applications under tomcat installation, I see they have WEB-INF directly under the root folder.

I am unable to see my deployed application in Tomcat. I am getting a 404 error

Can anyone throw some light please?



Thanks for your time,
Sai
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

The project directory in Eclipse is the source/working directory, it is not the deploy directory. Have you created a Tomcat server within Eclipse? If so, add your project to the Tomcat server - then when your app is published the correct files (essentially the contents of the webcontent directory plus the compiled classes) are deployed to Tomcat.


JBoss In Action
 
jQuery in Action, 2nd edition
 
subject: web application not visible.