![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
oceanZwl
态度决定一切
展开
-
Spring mvc中@RequestMapping 用法小结
结下spring mvc中的@RequestMapping的用法。 1)最基本的,方法级别上应用,例如: Java代码 @RequestMapping(value="/departments")public String simplePattern(){ System.out.println("simplePattern method was c转载 2014-05-21 14:32:06 · 522 阅读 · 0 评论 -
Spring 3 MVC ContentNegotiatingViewResolver example
Spring 3, ContentNegotiatingViewResolver, is an interesting view resolver, which allow you to output a same resource (content or data) to different type of views like JSP, XML, RSS, JSON and etc. P转载 2014-05-23 16:12:04 · 740 阅读 · 0 评论