![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Springmvc
文章平均质量分 59
Allen215902
GitHub 地址:https://github.com/pzxwhc
知乎地址:https://www.zhihu.com/people/wu-hua-chuan-72
展开
-
Springmvc:基本流程
下图1很好的说明了SpringMVC的流程: 图1 用户向服务器发送请求,请求被Spring 前端控制Servelt DispatcherServlet捕获;DispatcherServlet对请求URL进行解析,得到请求资源标识符(URI)。然后根据该URI,调用 HandlerMapping获得该Handler配置的所有相关的对象(包括Handler原创 2016-02-19 00:37:13 · 554 阅读 · 0 评论 -
Springmvc:前后端传参方式总结
包括:@PathVarible,@PathParam,@RequestParam,@RequestBody,@RequestHeader 以及 Spring自动封装@PathVarible用法后端@RequestMapping(value="/findarticlesbyclassify/{classifyId}",method=RequestMethod.GET)public String fi原创 2016-02-23 01:02:18 · 1774 阅读 · 0 评论