The Web project created by Spring MVC, how do I know the project name of its web and access the specific link address?

Source: Internet
Author: User

The SPRINGMVC project we created: Jstz_random, package Name: Com.redin.jstz, the name of the Web project is jstz_random. This is also the projectname in the connection we visited

1. You can find the Web project name by viewing the web properties

Right-click Projects--Properties-->web project Settings to see the Web project name. Actually the project name is: Zjrandom, this kind of setting is also quite deceptive.

Of course, it can also be modified here.

2, through the service to start the log, recompile, re-load when you can see

Of course the attentive classmate, you can see the project name when the server loads:

3, through the Pom.xml file view

If the SPRINGMVC more familiar with the classmate, may not be so mealy.

When creating a project, there is a pom.xml configuration file in the root of the project, which is the most intuitive, but the name configuration in the previous project is also right (otherwise, too deceptive):

Let's take a look at GroupID and Artifactid, which is actually the package name we define.

GroupID is the unique identifier of the project organization, and the actual structure of the package that corresponds to Java Artifactid is the unique identifier of the project, the name of the actual corresponding project, the name of the project root directory

So: build projects, need to pay attention to unity, otherwise, wasting time

The Web project created by Spring MVC, how do I know the project name of its web and access the specific link address?

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.