Mac under IntelliJ idea publish Java Web project in detail four configure Tomcat Deployment for all module

Source: Internet
Author: User

Prepare for Work 1: Create a new first Javaweb project

Preparation 2: New module

Step5 Configure Deployment for all projects

5.1

5.2 "+" "Artifact"

5.3 After selecting all the contents listed here, click "OK"

5.4 selected This, indicating that the three Java EE projects will be automatically published to the application context path after Tomcat is started .

5.5 Set Application context for each Web project

"WebWorkSpace1"-"/" = = = " http:localhost:port/"

"Project1"-"/project1" = = ="Http:localhost:port/project1"

"Project2"-"/project2" = = ="Http:localhost:port/project2"

5.6 This problem occurs if you are publishing a project and accessing the browser. The JSP page that you visited is not published correctly. Please go back and checkwhich step in "5.1-5.5" has gone wrong.

Mac under IntelliJ idea publish Java Web project in detail four configure Tomcat Deployment for all module

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.