Spring学习中的问题
Spring MVC
1. HandlerMapping和HandlerAdapter扮演的具体角色和实现过程
2. 学习Http请求的组成参考文章 https://blog.csdn.net/u010256388/article/details/68491509
3. requestScope和sessionScope的研究
4. Servlet的API研究
5. 数据转换与数据绑定
6. 在使用了静态资源时需要定义静态资源访问servlet
可以通过<mvc:resources location="/WEB-INF/images/" mapping="/images/**"></mvc:resources>
来进行访问,location代表资源路径,mapping代表匹配的url,使用mvc:resources标签时需要定义<mvc:annotation-driven></mvc:annotation-driven>
标签否则无法使用注解的方式访问action也就是说无法访问到controller类中被@RequestMapping标记的方法
版权声明: 本文由Lee创作和发表,采用署名(BY)-非商业性使用(NC)-相同方式共享(SA)国际许可协议进行许可,转载请注明作者及出处
本文链接:http://leewant.github.io/2018/08/05/Spring学习中的问题/