facebook

Web Project

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #301277 Reply

    grimFandango
    Member

    There’s something fundamental I don’t understand about web projects. In the “Create a Web Project” dialog:

      * Project Name: I understand this.
      * Location: I understand this (I think). It’s the location where the Eclipse project files (.metadata, .project, etc) will go.
      * Source Folder: I’m not really sure what this would be, but I think it’s the directory that holds the files to be deployed?
      * Web root folder: The directory underneath the project name that will be the deployed directory.
      * Context root URL: The url of the project. So if I put “hello”, the project will be deployed as http://localhost:8080/hello.

    So I think the act of “deploying” means copying all files under “source folder” into the “web folder”.

    If this is correct, what does the actual copying? Is Tomcat supposed to be configured to automatically copy all the files from source folder to web folder?

    Thanks!
    Pete

    #301284

    ernestz
    Member

    Source Folder is the folder that will contain your Java source.

    Web root folder contains your web pages (.html, .jsp, .jspx, .xhtml, whatever). (My)Eclipse will compile your Java course and put the .class files in the WEB-INF\classes subdirectory.

    When you deploy, MyEclipse copies the contents of the WebRoot directory to the application server.

    #301293

    ernestz,
    Thank you for the information posted. I am sure this will help other users too.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Web Project

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