2017年8月20日

解决静态资源的方法

摘要: 1.web.xml 2配置 3.配置 阅读全文

posted @ 2017-08-20 09:29 溜氓 阅读(199) 评论(0) 推荐(0)

请求流程图

摘要: 阅读全文

posted @ 2017-08-20 09:26 溜氓 阅读(175) 评论(0) 推荐(0)

return void ajax

摘要: public class UserInfo { private String name; private Integer age; public String getName() { return name; } public void setName(String name) { this.name = name; ... 阅读全文

posted @ 2017-08-20 09:25 溜氓 阅读(137) 评论(0) 推荐(0)

乱码解决

摘要: <filter> <filter-name>CharactorEncodingFilter</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> <init- 阅读全文

posted @ 2017-08-20 09:23 溜氓 阅读(189) 评论(0) 推荐(0)

自动装配

摘要: 对象 阅读全文

posted @ 2017-08-20 09:20 溜氓 阅读(137) 评论(0) 推荐(0)

通配符用法

摘要: @RequestMapping("/two")public String dotwo(){ return "/WEB-INF/delete.jsp";}@RequestMapping("/*three")public String dothree(){ return "/WEB-INF/delete 阅读全文

posted @ 2017-08-20 09:18 溜氓 阅读(193) 评论(0) 推荐(0)

Spring

摘要: 1.处理器映射器 <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> <property name="urlMap"> <map> <entry key="/hello.do" value="a 阅读全文

posted @ 2017-08-20 09:16 溜氓 阅读(120) 评论(0) 推荐(0)

导航