Intelij Configuring the Javaweb server

Source: Internet
Author: User

Here I am using the most recent version of intelij2016, first of all, to create a Java Web project:



After entering the select Create interface, do the following:



If you need to change the project into a module form, then the new SRC, Web folder can be deleted, and then create a new module, then the server configuration, first open:



And then:







Once created, the file's directory is as follows:


If you need to upload to the server, then upload the contents of the Out folder.

Then, if you need to run a test on Intelij, then you need to configure the Tomcat environment in Intelij, where you can easily specify which virtual directory to run:




Click Apply to make sure you're ready to run.

Intelij Configuring the Javaweb server

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.