e.FLY

2014年1月6日

Java里面,反射父类里面数字类型字段,怎么set值

摘要: Java里面,反射父类里面数字类型字段,怎么set值,我的做法是这样: /** * TODO 直接设置对象属性值, 忽略private/protected 修饰符, 也不经过setter * @author E.FLY * @date 2013-12-7 * @time 下午03:55:05 * @param object 子类对象 * @param fieldName 父类中的属性名 * @param value 将要设置的值 */ public static void setFieldValue(Objec... 阅读全文

posted @ 2014-01-06 10:25 e.FLY 阅读(1174) 评论(0) 推荐(0)

2013年8月24日

MyBatis 配置文件头部换行异常

摘要: INFO - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3da671: defining beans [dataSource,sqlSessionFactory,userDetailsManager,transactionManager,org.springframework.security.authentication.event.LoggerListener#0,passwordEncoder,two,three,com.tension.fra 阅读全文

posted @ 2013-08-24 15:11 e.FLY 阅读(937) 评论(0) 推荐(0)

2013年8月20日

Excel 改变列表头显示方式, Excel显示列数字

摘要: '显示数字列号Sub showCellNumber()Application.ReferenceStyle = xlR1C1End Sub'显示字母列号Sub showCellZimu()Application.ReferenceStyle = xlA1End Sub 阅读全文

posted @ 2013-08-20 19:01 e.FLY 阅读(434) 评论(0) 推荐(0)
oracle 将多字段数据合成一个

摘要: 1、系统默认WMSYS.WM_CONCAT(A.ID),2、再进行替换REPLACE(WMSYS.WM_CONCAT(A.ID),',','|'),(张) 阅读全文

posted @ 2013-08-20 18:59 e.FLY 阅读(338) 评论(0) 推荐(0)

2013年8月6日

Exception mybatis 配置文件:<typeAlias alias="***" type="***"/> 重复配置

摘要: INFO - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@17c395e: defining beans [dataSource,sqlSessionFactory,userDetailsManager,transactionManager,org.springframework.security.authentication.event.LoggerListener#0,passwordEncoder,two,three,com.tension.fr 阅读全文

posted @ 2013-08-06 12:03 e.FLY 阅读(3861) 评论(0) 推荐(0)

2012年4月11日

将集合中的对象所有get方法序列化为json格式

摘要: /** * 将集合中的对象所有get方法序列化为json格式 * @author E.FLY * @date 2012-4-7 * @time 上午01:45:02 * @param collection */ public String mySerializeJosnForAjax(Collection collection){ JSONArray array = new JSONArray(); JSONObject js = new JSONObject(); try { if(collection.size()>0){ for (Ob... 阅读全文

posted @ 2012-04-11 22:56 e.FLY 阅读(540) 评论(0) 推荐(0)
js判断浏览器/获取鼠标坐标/鼠标按键

摘要: View Code 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 2 <html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 <title>Untitled Document</title> 阅读全文

posted @ 2012-04-11 20:41 e.FLY 阅读(438) 评论(0) 推荐(0)
jsp图片放大镜

摘要: jsView Code 1 /* 2 =============================================================================== 3 Chili is the jQuery code highlighter plugin 4 ............................................................................... 5 LICENSE: http://www.opensource.org/licenses/mit-license.php ... 阅读全文

posted @ 2012-04-11 12:57 e.FLY 阅读(790) 评论(0) 推荐(0)

2012年4月10日

邮箱登录自动提示各种邮箱

摘要: 1 var index = 0; //标记提示文本DIV数组选中的下标 2 $(function(){ 3 var name = _getCookie("member_username"); 4 var pwd = _getCookie("member_password"); 5 if(name != "undefined" && pwd != "undefined"){ 6 $("#member_username").val(n... 阅读全文

posted @ 2012-04-10 22:43 e.FLY 阅读(676) 评论(0) 推荐(0)

2012年4月9日

js获得项目根目录

摘要: //js获取项目根路径,如: http://localhost:8083/uimcardprjfunction getRootPath(){ //获取当前网址,如: http://localhost:8083/uimcardprj/share/meun.jsp var curWwwPath=window.document.location.href; //获取主机地址之后的目录,如: uimcardprj/share/meun.jsp var pathName=window.document.location.pathname; var pos=curWwwPath.indexOf(pathN 阅读全文

posted @ 2012-04-09 17:15 e.FLY 阅读(1137) 评论(0) 推荐(0)