Preparation environment: 1. MyEclipse installed and configured environment variables, 2.TOMCAT installed and configured environment variables.
You can then start creating a new Web project.
1. New
2. Named Myfirstweb, the project default location to choose the usual Java workspace is good, do not need to put under Tomcat under the WebApps, to the
Deploy Tomcat under MyEclipse and deploy the project to the Tomcat server.
3. Then click Next to the last step to generate the Gogo of the Web. XML deployment descriptor option, so
Under the Webroot of the project, there will be a description file, Web. xml Web-inf.
4. Then start the tomcat binding with MyEclipse. Select myeclipse--preferencesservers-Tomcat-Tomcat 7.x,
and select the Tomcat installation directory, and then click Apply--finish when you are finished.
5. Deploy the newly-created Myfirstweb project to Tomcat, for example,
6. You can then right-click on the Myfirstweb,run as MyEclipse Server application, select tomcat7.x, run the results as follows (the project default new JSP file, you can also modify it yourself).
MyEclipse Configuration Tomocat