Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问 类似@RequestMapping("/register}") 后面这个“}”是何意啊? #18

Open
wangzhp opened this issue May 20, 2016 · 3 comments

Comments

@wangzhp
Copy link

wangzhp commented May 20, 2016

everyone-java-blog / blog-web / src / main / java / com / zuoxiaolong / blog / web / controller / 路径下的好多方法映射的路径都带“}”,这有什么特殊作用吗?

@useaname
Copy link

useaname commented Jun 8, 2016

A URI Template is a URI-like string, containing one or more variable names. When you substitute values for these variables, the template becomes a URI. The proposed RFC for URI Templates defines how a URI is parameterized. For example, the URI Template http://www.example.com/users/{userId} contains the variable userId. Assigning the value fred to the variable yields http://www.example.com/users/fred.

@fulndon
Copy link

fulndon commented Nov 29, 2016

少个花括号吧,和页面向后台传参差不多,只不过,使url是动态的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants