Today we'll show you how to create a Java Web project using Myclipse, and I'm using myclipse 8.6来 to create it:
1. Open myeclipse, click File---and then new----Web project, and then create the Web item.
2. Fill in the information about the Web project:
Project Name: Item names
SOURCE FOLDER:SRC to store the original file
root directory for Web root Folder:web app
Context: Access path when deploying to Tomcat access.
Click Finish to complete.
The post-deployment project structure is as follows:
3. After the project is created, next we need to deploy the project into the Tomcat container, how to deploy the project to the Tomcat container using MyEclipse, and click Preferences in Windows:
Select the corresponding Tomcat:
After you have configured Tomcat, you need to configure the JDK for runtime, click Add, and select the corresponding JDK:
4. After the tomcat is configured, the project is then deployed to the Tomcat container:
Click Deploy Project:
Select the project you want to deploy, then click Add,
Select Deploy to tomcat6.x:
Click OK.
Start tomcat6.x
After the deployment is complete, start Tomcat successfully, and then under Web Project Access:
Access is successful, that is, deployment startup OK.
Reference article: http://blog.csdn.net/jiuqiyuliang/article/details/36875217
MyEclipse Building Java Web project "one"