Eclipse+maven Create WebApp project (GO)

Source: Internet
Author: User

Reprint Address: http://www.cnblogs.com/AloneSword/p/3998557.html

-------------------------------------------------------------

Description

The 11th step of this blog: "11, OK, go back to the Maven menu to remove the Dynamic Web module check, click OK, as shown below, the WEBAPP directory structure shows:"--this step here to correct: Do not remove the dynamic Web Module, tick this option and click OK.

Correct:

Reason: Install original Blogger Original method can also, but can no longer webapp directory directly run JSP file, the specific reason is not good to say clearly.

PostScript: The most important value of this blog is to set up the Web Module (the default is WebContent, which is equivalent to reset), which is mainly done in 8--11 step, which is equivalent to the WebContent directory in the Web project is designated as the Src/main/webapp directory. Such as:

In addition, this blog left a question: the version of Web. XML, the version of Web. XML is inconsistent with the general non-MAVEN project version, lower, how to specify the Web. xml version in Src/main/webapp?

Eclipse+maven Create WebApp project (GO)

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.