How to Create a jsp project and tomcat configuration tutorial in idea2017, idea1_tomcat

Source: Internet
Author: User

How to Create a jsp project and tomcat configuration tutorial in idea2017, idea1_tomcat

1: Create a new project, without any brains

Enter the project name and select the address.

2: Configure tomcat

Download the zip package (https://tomcat.apache.org/download-90.cgi) from the tomcat official website, extract it to a location, and then

Add the tomcat address at location 4 to complete the tomcat server configuration.

You also need to add the servlet library of the tomcat container:

You can add a tomcat library.

3: At this time, artifacts error will be reminded, click Fix:

Then click the green pencil for Configuration:

Select WEB-INF and then OK:

Click the green triangle to start the server.

The project file structure is as follows:

. Idea: project configuration folder

Out: A folder is generated by the project. during compilation and packaging, the folder is automatically generated based on the content in the src and web folders.

Src: source code folder where all. java and other files are located

Web: website folders, jsp files and resource files are all here

The file is automatically repackaged after modification:

The following configurations are available in the server configuration.

Summary

The above section describes how to create a jsp project and tomcat configuration in idea2017. I hope it will help you. If you have any questions, please leave a message and I will reply to you in time. Thank you very much for your support for the help House website!

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.