SpringMVC
iteye_16140
这个作者很懒,什么都没留下…
展开
-
SpringMVC强大的数据绑定
转载自http://jinnianshilongnian.iteye.com/blog/1698916 1、@RequestParam绑定单个请求参数值; 2、@PathVariable绑定URI模板变量值; 3、@CookieValue绑定Cookie数据值 4、@RequestHeader绑定请求头数据; 5、@ModelValue绑定参数到命令对象; 6、@SessionAttr...原创 2013-07-26 15:51:39 · 158 阅读 · 0 评论 -
Spring的PropertyPlaceholderConfigurer应用
摘自:http://www.cnblogs.com/yl2755/archive/2012/05/06/2486752.html 1. PropertyPlaceholderConfigurer是个bean工厂后置处理器的实现,也就是BeanFactoryPostProcessor接口的一个实现。PropertyPlaceholderConfigurer可以将上下文(配置文件)中的属性值放在另一...原创 2013-09-26 09:11:57 · 59 阅读 · 0 评论