摘要: 1.@RequestMapping 用法 SpringMVC中,@RequestMapping用来处理请求,比如XXX.do @RequestMapping("/aaa")//类级别,可以不需要,如果要了,下面所有的请求路径前都需要加入 /aaa public class ccccontroller{ @RequestMapping("/bbb")//方法级别,必须有,决定这个方法处理哪个请求,如果有类级别 /aaa/bbb public String xxx() { ... 阅读全文
posted @ 2013-12-11 19:14 Mr_Wangsg 阅读(326) 评论(0) 推荐(0)
摘要: startsWith(),endsWith() 阅读全文
posted @ 2013-12-11 18:13 Mr_Wangsg 阅读(363) 评论(0) 推荐(0)