@ Controller
@ RequestMapping (value="{adminPath}/Weter" https://bbs.csdn.net/topics/$
Public class WeterController extends BaseController {
@ RequestMapping (value={" list ", ""} https://bbs.csdn.net/topics/
Public String list (Weter Weter, it request, HttpServletResponse response, Model Model) {
Return "modules/Weter/WeterList";
}
The above code, please @ RequestMapping (value={" list ", ""} https://bbs.csdn.net/topics/
{" list ", ""} there why there is a" ", what's the use of this item?
CodePudding user response:
Can write two value is, the path can be both,Like you to write words can have two kinds of access path
Example: localhost: 8080/list or localhost: 8080
CodePudding user response:
/user/list and/user/routing is the same interface