Reputation: 6006
When I launch my web application from Eclipse Indigo, where does Tomcat 7 store web application folder? It is not located in Tomcat's own webapp folder. Why I can not access Tomcat's default home page (I talk about http://localhost:8080), if it started under Eclipse? If I start tomcat manually (thruogh the startup.bat
), I can access http://localhost:8080.
Upvotes: 9
Views: 10144
Reputation: 12538
Per default it will deploy your application in a subfolder of .metadata-folder from your workspace.
Upvotes: 3
Reputation: 1108722
Doubleclick the Tomcat server entry in Servers view and check the Server Locations section. The path is in there and you can also configure in there if Eclipse should use the Tomcat installation instead of the workspace metadata (which is the default setting).
Note that the server must be published with no modules present to make changes. I.e. stop the server, remove all projects and publish the server.
This will also make the Tomcat homepage available.
Upvotes: 12