首页

搜索结果

"tag:"spring mvc""


标题及摘要 日期/时间
1
浅谈 SpringMVC 数据绑定 - Senton - 博客频道 - CSDN.NET
2. 包装类型(以Integer为例,其他类似): Controller代码: [java]view plaincopyprint? @RequestMapping("test.do") publicvoidtest(Integernum){ } JSP表单代码: [java]view plaincopyprint? formaction="test.do"method="post...
2014-5-19
14:34:00
2
Spring MVC and AJAX with JSON
You can usejson-lib-ext-spring. There are other libs, this is the one I found. If you know or use another one, please leave a comment with the library name. Do not forget to downloadJson-liband its dependencies. Now you have to configure your XML files: C...
2013-7-3
21:48:00
3
Spring MVC 整合 JSON 视图
Jackson转换Java对象 1、 jackson有专门的视图MappingJacksonJsonView,只需用配置这个视图就可以完成转换json了。使用jackson需要添加如下jar包: 如果你对Jackson转换Java对象还没有什么了解的话,你可以参考: For cnblogs:http://www.cnblogs.com/hoojo/archive/2011/04/22/2024628.html For csdn:http://blog.csdn.net/IBM_hoojo/archive...
2013-7-3
21:44:00