This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
WebContent folder in an Eclipse Java Dynamic Web project
posted 3 years ago
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?