Myeclipse+tomcat Deployment Release WebApp

Source: Internet
Author: User




One, MyEclipse integrated tomcat server


my MyEclipse uses the 10.0,tomcat 7.0.027; To publish a Web application written using MyEclipse, you need to make some settings now in MyEclipse.


1. Set JDK version

The following settings are set in the windows--preferences:





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


2, set up the server




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




Second, write WebApp


Right-click on the left to select New:






Then fill in the index page with some content for testing purposes.




Third, deploy


Click Deploy next to the server. Then select the items we want to publish:






Iv. Introduction to the Web project directory structure




In the root directory, you can see the index.jsp page and the Web-inf, where the structure is the same as the directory structure of the WebApps directory under the Tomcat installation directory that corresponds to the project.








Myeclipse+tomcat Deployment Release WebApp

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.