自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 iframe加载完毕事件

var oFrm = document.getElementById('mainFrame');oFrm.onreadystatechange = function() {if ( this.readyState == 'complete') {alert("加载完毕");}}

2013-06-06 09:14:51 648

转载 document.execCommand()函数可用参数解析

1 input type=button value=剪切 onclick=document.execCommand('Cut')> 2  3 input type=button value=拷贝 onclick=document.execCommand('Copy')> 4  5 input type=button value=粘贴 onclick=document.execCom

2011-12-29 15:46:43 269

转载 sql查询上一条下一条数据

---上一条 select   top   1   *   from   table1   where   ID> 原记录的ID   order   by   ID ---下一条 select   top   1   *   from   table1   where   ID <原记录的ID   order   by   ID   desc--合起来为一个记录集 se

2011-11-30 10:05:26 516

转载 JSTL标签用法

JSTL标签用法关键字:JSTL标签、、、、、、、、、、、、、、原来一直没有看过,我说过我是新手,但是好多资料上似乎也不重视 JSTL 。我看项目源代码发现其中使用到了这个标签库,感觉其还真是方便,页面看起来更加清爽。减少了 JAVA 程序员亲自写的代码量,还真验证了,不懒不做程序员,程序员如果写代码不想着偷懒,那么生活是很无趣的。下面总结总结,学习学习。:)JSP 标准标记库(

2011-11-29 15:26:51 248

转载 java判断是否为数字的三种方法

//用JAVA自带的函数       public static boolean isNumeric(String str){         for (int i = str.length();--i>=0;){             if (!Character.isDigit(str.charAt(i))){           return false;          }

2011-11-15 13:59:19 671

原创 获取getJdbcTemplate().queryForList(sql)数据

Iterator it = users.iterator();if(it.hasNext()){  Map user = (Map)it.next();  String id=user.get("id").toString();     -----}

2011-11-14 15:59:39 2255

原创 jstl应用——取得list长度

jstl 取list 长度例1:输出长度http://java.sun.com/jsp/jstl/core" prefix="c" %>http://java.sun.com/jsp/jstl/functions" %>例2:长度比较查询结果为0.例3:字符串截取:request中含str="abcdefghijklmnopqrstuvwxyz"

2011-11-10 16:06:37 960

转载 利用Javascript取和设FCKeditor值

// 获取编辑器中HTML内容function getEditorHTMLContents(EditorName) {var oEditor = FCKeditorAPI.GetInstance(EditorName);return(oEditor.GetXHTML(true));}// 获取编辑器中文字内容function getEditorTextContents(Ed

2011-10-26 10:12:59 327

dwr.jar engine.js util.js,Dwr相关

开发Dwr所需的jar包,js文件:dwr.jar engine.js util.js

2011-07-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除