The URL path is determined by value, eg:value= "/hello".
method Parameters: Requestmethod.post,requestmethod.get Request methods, such as GET, POST
In addition, there are:
Param: Parameter setting
@RequestMapping also supports Ant-style wildcard characters:
@RequestMapping (value= "/?/world")
A request similar to http://localhost:8080/SpringHelloWorld/hello/4/world can be requested, and4 of the position can be replaced by any One character but must have.
@RequestMapping (value= "/*/world")
A request similar to http://localhost:8080/SpringHelloWorld/hello/aaaaaaaaaaaaaaaaaa/world can be requested; the location of the AAAAAAAAAAAAAAAAAA can be replaced by any number (at least one) character but must have.
@RequestMapping (value= "/**/world")
Http://localhost:8080/SpringHelloWorld/hello/world can process the request
Http://localhost:8080/SpringHelloWorld/hello/1/2/3/4/world can also handle the request
That is to say, this wildcard can be doped with any number of such structures, or can not;
@requestmapping parameter settings in SPRINGMVC