facebook

WebRoot – What does it mean?

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #242862 Reply

    I am not having any problems, but just a lack of understanding. I have a WAR file that I have expanded. I created a web project and it asks for WebRoot. I don’t really know what that is. The “src” folder under the project contains the java source that build the “classes” files under WEB-INF. My root directory has some HTML files and there is a jsp and script directory under need root. I can modify and run my program fine. My question is, should my “jsp” and all other directories be placed under WebRoot or directly beneath the project folder?

    #242883 Reply

    Riyad Kalla
    Member

    Have a look at this entry, gives an idea of a good layout: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#111

    From there you can see that the WebRoot is basically an exploded WAR file. This is on purpose. Your project may contain other resources like a source tree, extra config files, compile-time-libraries, API docs, license docs, etc. All of this would go outside of your WebRoot in the root of your Project and, if necessary, get built into your WebRoot somewhere. Then when your project is deployed to your app server, MyEclipse packages up your WebRoot and everything under it, and creates the WAR file for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: WebRoot – What does it mean?

You must be logged in to post in the forum log in