Java build path & Deployment assembly & compilation path & release path, javabuildpath
Java build path
Java source file. After compilation, the output path. Default Value:
* The source code folder is in the/src
Deployment assembly
Set the system release path to publish the resources of the completed (or unfinished) project to the specified position on the web server (such as Tomcat:
* Read the text annotations in the image carefully.
In addition:
1. When we save the file, eclipse will automatically compile the file, and then the compiled file will naturally be in the compilation Output Folder we set.
2. Then we deploy the web Project to the server we specified.
A. copy the file according to the configuration in deployment assembly.
Eclipse deployment and release project:
Right-click a server and choose:
Right-click the selected server, publish project
In this way, our project cannot be sent to the web server.
Click Run, and then our project can be used: