JSP Learning 1---Create a simple JSP program

Source: Internet
Author: User
Tags tomcat server

First, create a new "Dynamic Web Project" Dynamics Web item

1.1 Enter the project name Project1, in Dynamic Web module version, Select 3.0(Note: Tomcat version is 8.5)

  

1.2 The next step is to configure the Java application and Configuration Web module, which is the default and click Done.

1.3 Create a JSP file named Index.jsp (the name can be arbitrary)

Method: Right-click the--new--jsp file and enter the file name inside. 

Second, write the JSP code (note the encoding format: UTF-8 or GBK support Chinese)

Iii. release and operation of the project

3.1 Configure the Tomcat server first. Open the Tomcat server: (You can run the change time if the run time bunt not open)

3.2 Publish and run the project

Right-click--run as--run on server--Select Tomcat Server--complete

JSP Learning 1---Create a simple JSP program

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.