Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
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?
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.