Tomcat + eclipse web Application Development Environment Configuration

Source: Internet
Author: User
1 download and install tomcat address: http://tomcat.apache.org/download-60.cgi windows32-bit system download: apache-tomcat-6.0.35-windows-x86.zip extract to the specified directory can be, without installation. 2 download and install eclipse address: http://www.eclipse.org/downloads/

Download eclipse-jee-indigo-sr1-win32.zip and unzip it to the specified directory without installation. 3. To download the tomcat plug-in, you can search tomcatpluginv321.zip, download it, decompress it, and put it in the plugins directory of the eclipse installation directory. Start eclipse and you will see the buttons shown.

4. Configure tomcat window --> Preferences --> Tomcat to set the tomcat version and installation directory.

After setting, you can directly start or close the tomcat service in eclipse.

5. Configure the Server runtime environments window --> Preferences --> Server --> Runtime Environments. The configuration is simple. Click the add button and select add. For example

6. Create a Web application

Create a Dynamic Web Project and create an index. jsp file in the WebContent directory of the created Project. As shown in

7. Publish a Web application right-click the project and choose Run As --> Run on Server. Click finish to complete the release.

Click finish to complete the release. After the release, the released project is automatically opened in Eclipse. The whole process of web application publishing through Eclipse and Tomcat is described above.
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.