The process of simply creating a JSP project in Eclipse __JS

Source: Internet
Author: User
In Web application, there are two types. One is the static Web service and the other is the Dynamic Web service. The static Web service, which is what we normally call a stationary Web page, contains only basic html,image,css,script files, and Dynamic Web service, the application page, In addition to the application contains static Web pages and other categories, there are some dynamic Web pages (in fact, JSP file), for us to develop JSP, we certainly want to wear a dynamic Web service.
The following is a simple process to create a JSP project.
1. Create the project. File->new->dynamic Web project, or file->new->project->web->dynamic Web project. Pop up a new Dynamic Web Project window and configure it. Here mainly fill in its engineering name. For example, I fill in "Test1" here. Then there is no other request, direct point "Finish" can.
2. Create a JSP page. Click Test1 to expand and right-click webcontent->new->jsp. Pop-up new JavaServer page window, fill in the JSP page file filename can be, such as I fill in test.jsp here. Click Finish. This allows a test tab to appear in the edit box, where you can write code.
3. Run. When the JSP page gets the focus, click the green triangle on the toolbar to run it. The first time will pop up a dialog window to ask you which server to run the JSP file, select the server you created, and set the installation path, my is Tomcat6.0. Later for convenience you can choose "Always use this server when run this project".
This completes the creation of a simple Web application.

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.