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 注解、处理请求 | Lcamn #11

Open
Lcamn opened this issue Nov 14, 2019 · 0 comments
Open

RequestMapping 注解、处理请求 | Lcamn #11

Lcamn opened this issue Nov 14, 2019 · 0 comments

Comments

@Lcamn
Copy link
Owner

Lcamn commented Nov 14, 2019

https://lcamn.github.io/2019/11/13/SpringMVC-%E6%B3%A8%E8%A7%A3%E3%80%81%E5%A4%84%E7%90%86%E8%AF%B7%E6%B1%82/#more

一、@RequestMapping SpringMVC 使用@RequestMapping 注解为控制器指定可以处理哪些 URL 请求 在控制器的类定义及方法定义处都可标注 @RequestMapping 标记在类上:提供初步的请求映射信息。相对于 WEB 应用的根目录 标记在方法上:提供进一步的细分映射信息。相对于标记在类上的 URL。 若类上未标注 @RequestMapping,则方法处

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

No branches or pull requests

1 participant