Eclipse JEE Tomcat Configuration + deployment + Application

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.