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?