• 大小: 8.6MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-19
  • 语言: Java
  • 标签: SSM  

资源简介

实现语言 JAVA 环境要求 JDK7.0 MyEclipse Tomcat7 MYSQL5.5 JQuery1.12.4

资源截图

代码片段和文件信息

package cn.controller;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.springframework.beans.propertyeditors.CustomDateEditor;
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.InitBinder;

public class baseController {
/**
 * 使用@InitBinder解决SpringMVC日期类型无法绑定的问题
 * @param dataBinder
 */
@InitBinder
public void initBinder(WebDataBinder dataBinder){
System.out.println(“initBinder=======================“);
dataBinder.registerCustomEditor(Date.class 
new CustomDateEditor(new SimpleDateFormat(“yyyy-MM-dd“) true));
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-12-13 17:11  Completion7\
     文件        1141  2018-12-09 10:48  Completion7\.classpath
     文件        1336  2018-12-09 13:37  Completion7\.project
     目录           0  2018-12-13 17:11  Completion7\.settings\
     文件         522  2018-12-09 09:49  Completion7\.settings\.jsdtscope
     文件          79  2018-12-09 22:01  Completion7\.settings\org.eclipse.core.resources.prefs
     文件         364  2018-12-09 09:49  Completion7\.settings\org.eclipse.jdt.core.prefs
     文件         572  2018-12-09 10:48  Completion7\.settings\org.eclipse.wst.common.component
     文件         414  2018-12-09 09:49  Completion7\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2018-12-09 09:49  Completion7\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2018-12-09 09:49  Completion7\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2018-12-13 17:11  Completion7\WebRoot\
     目录           0  2018-12-13 17:11  Completion7\WebRoot\meta-INF\
     文件          39  2018-12-09 09:49  Completion7\WebRoot\meta-INF\MANIFEST.MF
     目录           0  2018-12-13 17:11  Completion7\WebRoot\WEB-INF\
     目录           0  2018-12-13 17:11  Completion7\WebRoot\WEB-INF\classes\
     文件        3644  2018-12-07 13:58  Completion7\WebRoot\WEB-INF\classes\applicationContext-mybatis.xml
     目录           0  2018-12-13 17:11  Completion7\WebRoot\WEB-INF\classes\cn\
     目录           0  2018-12-13 17:11  Completion7\WebRoot\WEB-INF\classes\cn\controller\
     文件        1109  2018-12-11 17:33  Completion7\WebRoot\WEB-INF\classes\cn\controller\baseController.class
     文件        6139  2018-12-11 17:33  Completion7\WebRoot\WEB-INF\classes\cn\controller\InvitationController.class
     目录           0  2018-12-13 17:11  Completion7\WebRoot\WEB-INF\classes\cn\dao\
     文件        1076  2018-12-11 17:33  Completion7\WebRoot\WEB-INF\classes\cn\dao\InvitationMapper.class
     文件        1919  2018-12-09 21:41  Completion7\WebRoot\WEB-INF\classes\cn\dao\InvitationMapper.xml
     目录           0  2018-12-13 17:11  Completion7\WebRoot\WEB-INF\classes\cn\pojo\
     文件        1412  2018-12-11 17:33  Completion7\WebRoot\WEB-INF\classes\cn\pojo\Invitation.class
     文件        1418  2018-12-11 17:33  Completion7\WebRoot\WEB-INF\classes\cn\pojo\Reply_detail.class
     目录           0  2018-12-13 17:11  Completion7\WebRoot\WEB-INF\classes\cn\service\
     文件         851  2018-12-11 17:33  Completion7\WebRoot\WEB-INF\classes\cn\service\InvitationService.class
     文件        2207  2018-12-11 17:33  Completion7\WebRoot\WEB-INF\classes\cn\service\InvitationServiceImpl.class
     目录           0  2018-12-13 17:11  Completion7\WebRoot\WEB-INF\classes\cn\tools\
............此处省略66个文件信息

评论

共有 条评论