Tomcat configuration and JSP web page debugging in eclipse

Source: Internet
Author: User
Step 1: Add a server

1.1 In window-preference-server-runtime environment, select Add to add a server

1.2 select the corresponding version and click Next

1.3 name and select the Tomcat path.

Step 2: Create a JSP site

2.1 file-New-dynamic web project

2.2 name and configure

2.2 name and click Next

Step 3: Configure the server

3.1 right-click servers and choose new-server.

3.2 select the corresponding tomcat version and name it next

3.3 Add the project using the server, and click Finish.

3.4 important: double-click the server you Just configured, select "use tomcat installation (take control of Tomcat installation" in server locations, and press Ctrl + S to save

3.4 The configuration is complete. Right-click the server and select start to start the service.

Step 4: debug the JSP webpage

4.1 right-click the webcontent directory of the JSP site created in step 2 and create a new JSP file

4.2 enter and save some content in the <body> </body> file.

4.3 right-click the file and choose run as-run on server. The page is displayed on the right.

 

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.