File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WebContent folder in an Eclipse Java Dynamic Web project

 
Iztok Cop
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic