09 2014 档案

摘要:CKEditor 3 JavaScript API Documentation : http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.htm 一、使用方法: 1、在页面中引入ckeditor核心文件ckeditor.js 2... 阅读全文
posted @ 2014-09-22 19:19 siashan 阅读(484) 评论(0) 推荐(0)
摘要:java.util.Date是在除了SQL语句的情况下面使用的。java.sql.Date是针对SQL语句使用的,它只包含日期而没有时间部分它们都有getTime方法返回毫秒数,自然就可以直接构建。java.util.Date 是 java.sql.Date 的父类,前者是常用的表示时间的类,我们通... 阅读全文
posted @ 2014-09-22 17:16 siashan 阅读(1022) 评论(0) 推荐(0)
摘要:org.springframework.web.context.ContextLoaderListener contextConfigLocation classpath:applicationContext*.xml OpenSessionInViewFilter or... 阅读全文
posted @ 2014-09-06 08:19 siashan 阅读(591) 评论(0) 推荐(0)
摘要:/** 修改页面 */ public String editUI() { //准备回显得数据 Role role = roleService.getById(id); ActionContext.getContext().getValueStack().push(role);//下面的方... 阅读全文
posted @ 2014-09-04 20:26 siashan 阅读(604) 评论(0) 推荐(0)
摘要:package cn.itcast.oa.base;import java.lang.reflect.ParameterizedType;import java.util.List;import javax.annotation.Resource;import org.hibernate.Sessi... 阅读全文
posted @ 2014-09-04 15:57 siashan 阅读(514) 评论(0) 推荐(0)
摘要:在编辑 *.hbm.xml 文件时,myeclipse 带有自动提示功能,但 eclipse 是没有自动提示功能的。需要自己手工加上: 1、打开项目中任意一个 *.hbm.xml 文件,看一下文件头,形如以下: [html] view plain copy prin... 阅读全文
posted @ 2014-09-01 16:09 siashan 阅读(624) 评论(0) 推荐(0)