Spring MVC
xia_andy
这个作者很懒,什么都没留下…
展开
-
spring mvc从页面得到util.Date类型的数据
在控制类中加上@InitBinder public void initBinder(WebDataBinder binder) { DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd"); binder.registerCustomEditor(Date.class, new CustomDateE...原创 2011-11-04 15:04:45 · 80 阅读 · 0 评论 -
43234
sd原创 2011-11-07 18:01:27 · 125 阅读 · 0 评论 -
用spring mvc上传文件
后台: @RequestMapping public void addEpibolyPool(@RequestParam("fileName") CommonsMultipartFile file,TEpibolyPool epibolyPool,HttpServletResponse response) { logger.debug("EpibolyCont...原创 2011-11-28 09:29:25 · 74 阅读 · 0 评论