*
The moose likes IDEs, Version Control and other tools and the fly likes WebContent folder in an Eclipse Java Dynamic Web project 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 "WebContent folder in an Eclipse Java Dynamic Web project" Watch "WebContent folder in an Eclipse Java Dynamic Web project" New topic
Author

WebContent folder in an Eclipse Java Dynamic Web project

Iztok Cop
Greenhorn

Joined: Jan 21, 2013
Posts: 1
I have attempted to import an existing WAR file into my Eclipse Helios IDE. My understanding was that the folder structure of the WAR file was not too important apart from the WEB-INF directory.

However, when I imported the WAR folder structure in Eclipse and subsequently deployed the project, no web pages were reachable UNLESS I placed all the JSP pages under the WebContent directory of my project.

The original WAR file did not have a WebContent directory so am not sure why this directory suddenly becomes critical in Eclipse. How does Eclipse use this directory compared to my original WAR file?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebContent folder in an Eclipse Java Dynamic Web project
 
Similar Threads
web application directory structure
Question on Ant script error in my build.xml file in the Eclipse IDE
Eclipse WTP Directory Structure
How specify path to .JSP file for request.getRequestDispatcher()?
Building a .WAR file