MyEclipse + Tomcat deployment and release of webapp and myeclipsewebapp

Source: Internet
Author: User

MyEclipse + Tomcat deployment and release of webapp and myeclipsewebapp




1. Integrate Tomcat server in MyEclipse


My MyEclipse uses 10.0 and Tomcat uses 7.0.027. To publish a web application compiled using MyEclipse, you need to set some settings in MyEclipse.


1. Set the JDK version.

Set windows -- preferences as follows:





You can use the default JDK version here, or click Add to select JDK as the directory.


2. Set Server




Here I am using Tomcat 7, so the setting is as above.




2. Compile a WebApp


Right-click on the left and select new:






Then enter some content in the index page for testing.




3. Deployment


Click deploy next to the server and select the project to be released:






Iv. Overview of the Web project directory structure




In the root directory, you can see the index. jsp page and WEB-INF, the structure is the same as the directory structure of the project corresponding to the webapps directory under the Tomcat installation directory.








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.