Previously used is myeclipse, simple configuration, simple to use, now the company suddenly let the use of eclipse, a long time to configure a good environment, record:
1, download Eclipse Jee, extract to the specified directory, you can run
2, to support Tomcat, need to download a tomcat, I used the tomcat6.0 version, the last officer net download
3, Server Tomcat installation, need to download a plugin
The above three steps are described in the previous article,
Reference: http://blog.csdn.net/fufengrui/article/details/7762159
The following are some of the problems with deployment.
1, new project, select Dynamic Web Project
2,projectname any, target runtime need to create a new one, or select the previously set server
3,finish, create a new index.jsp
4, right-click-run-run on Server--finish
5, found that the deployment of the application under the installed Tomcat WebApp, the original default
6, in Windows--show view--servers, double-click the server name to see that one of the servers locations is gray
7, you need to modify this item to deploy project to the directory specified by server, and how to modify
8, right click on the name of the server, in the General tab, there is a switch location button, switch one, OK
9, double click on the name of the server to modify
10, remember to save, redeploy, you can find, deployed to the specified tomcat under the WebApps