Write your own project, we want to deploy to other computers for others to access.
First install the JDK, and Tomcat. Here my tomcat is free to install version, according to http://www.cnblogs.com/Joanna-Yan/p/4874231.html configuration is OK.
1. Package The project you want to publish into a. WAR package, right-click-->export-->j2ee-->war file (MyEclipse) Next, and select the path you want to export.
2. Place the. War file under your Tomcat's WebApps directory (F:\apache-tomcat-7.0.61\apache-tomcat-7.0.61\webapps).
3. If your tomcat is in the boot state, refresh. Or, if you start Tomcat, there will be one more folder with the same name as the. war file, and the project will be released. http://localhost:8080 Open the page homepage to access the project.
Alternatively, after you have run the project directly in MyEclipse, copy the folder in your own Tomcat WebApps with the same name as your project to the Tomcat WebApps of the computer you want to deploy and run the server directly.
Publishing a Java Web project