One, MyEclipse integrated tomcat server
my MyEclipse uses the 10.0,tomcat 7.0.027; To publish a Web application written using MyEclipse, you need to make some settings now in MyEclipse.
1. Set JDK version
The following settings are set in the windows--preferences:
You can use the default JDK version here, or click Add to select the JDK according to the directory.
2, set up the server
Here I am using TOMCAT7, so the setting is as above.
Second, write WebApp
Right-click on the left to select New:
Then fill in the index page with some content for testing purposes.
Third, deploy
Click Deploy next to the server. Then select the items we want to publish:
Iv. Introduction to the Web project directory structure
In the root directory, you can see the index.jsp page and the Web-inf, where the structure is the same as the directory structure of the WebApps directory under the Tomcat installation directory that corresponds to the project.
Myeclipse+tomcat Deployment Release WebApp