json-lib-2.2可以为对应的class注册解析类,记住一定要2.2,2.1有同步问题。切记切记。
写一个DateJsonValueProcessor.java
package anni.core.web.json;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import net.sf.json.JSONObject;
import net.sf.json.JsonConfig;
import net.sf.json.proce ...
- 16:07
- 浏览 (594)
- 论坛浏览 (716)
- 评论 (1)
- 发布在 就爱开源 圈子
刚刚学习spring的MVC
还有就是
public class LoginCtrl extends AbstractCommandController {
....
protected ModelAndView handle(HttpServletRequest request,
HttpServletResponse response, Object obj, BindException e)
throws Exception {
& ...
- 11:43
- 浏览 (228)
- 论坛浏览 (342)
- 评论 (1)
最近加入圈子
最新评论
-
Json-lib 如何转换日期格 ...
能不能讲一下怎么用呀。
-- by bplyn -
Spring2.5的MVC架构与2. ...
可以使用注解了 http://static.springframework.or ...
-- by 王 三







评论排行榜