MyEclipse Configuration Tomocat

Source: Internet
Author: User
Tags tomcat server

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

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.