ITeye博客

kely39的博客

kely39 · 共 31 篇文章

自动生成doc结构化标题

该模板提供格式化doc文档结构化目录,只需要把你的doc文件内容复制粘贴进去保存即可!

2013-12-02 12:23 · 平时积累 · 评论(0)

oracle遍历树结构

-- Create table create table DG ( ID NUMBER, SUBID NUMBER ) tablespace KELY pctfree 10 initrans 1 maxtrans 255 storage ( initial 64 minextents 1 maxextents unlimited ); select * from dg start with id = 1 connect by prior id = subid; --intersect --交集 --select * from dg connect by prior id = subid st…

2013-11-21 10:09 · oracle · 评论(0)

最新的JS特效资料论坛

以下网站只属个人收集: 1、最新的JS特效资料: http://www.sucaiweb.com/ 2、jQuery formValidator表单校验插件函数列表: (脚本库见附件:jquery_validate.zip) http://www.yhuan.com/formValidator4.1.1/doc/index.html 3、W3C: http://www.w3school.com.cn/

2013-10-23 22:27 · 前端精选收藏记载 · 评论(0)

图片,Ul+li滚动效果

<!doctype html> <html> <head> <meta charset="utf-8"> <title>js图片左右滚动的jquery插件(点击滚动和自动滚动) - 懒人建站 http://www.51xuediannao.com/</title> <meta name="keywords" content="左右滚动,js左右滚动,图片左右滚动" /> <meta name="description" content="js图片左右滚动的jquery插件可以点击滚动也可以配置成自动滚动,atued的 三藏 法师 原创,懒人建站整理发布" /> <style> ul{ pad…

2013-10-15 10:51 · jquery · 评论(0)

jqyuer获取两个时间差

function GetDateDiff(startTime, endTime, diffType) { //将xxxx-xx-xx的时间格式,转换为 xxxx/xx/xx的格式 startTime = startTime.replace(/-/g, "/"); endTime = endTime.replace(/-/g, "/"); //将计算间隔类性字符转换为小写 diffType = diffType.toLowerCase(); var sTime = new Date(startTime); //开始时间 var eTime = new Date(endTime); //结束时间…

2013-10-15 10:51 · jquery · 评论(0)

DIV随鼠标拖动效果

直接贴代码: <html> <head> <title>_xWin</title> <script language=JScript> <!-- //可以打包为js文件; var x0=0,y0=0,x1=0,y1=0; var offx=6,offy=6; var moveable=false; var hover='orange',normal='slategray';//color; var index=10000;//z-index; var xx; //开始拖动; function startDrag(obj) { if(event.button==1) { //锁定标题栏; ob…

2013-10-15 10:46 · jquery · 评论(0)

c3p0配置详解

<c3p0-config> <default-config> <!--当连接池中的连接耗尽的时候c3p0一次同时获取的连接数。Default: 3 --> <property name="acquireIncrement">3</property> <!--定义在从数据库获取新连接失败后重复尝试的次数。Default: 30 --> <property name="acquireRetryAttempts">30</property> <!--两次连接中间隔时间,单位毫秒。Default: 1000 --> <property name="acquireRetryDelay">1000</p…

2013-09-27 17:33 · 数据库 · 评论(0)

HttpURLConnection的使用

/* * URL请求的类别分为二类,GET与POST请求。二者的区别在于: * a:) get请求可以获取静态页面,也可以把参数放在URL字串后面,传递给servlet, * b:) post与get的不同之处在于post的参数不是放在URL字串里面,而是放在http请求的正文内。 */ URL url = new URL("http://localhost:8080/TestHttpURLConnectionPro.do"); HttpURLConnection urlConn = (HttpURLConnection) url.openConnection(); // 设置是否向http…

2013-09-26 14:24 · 通讯协议 · 评论(0)

jquery汇总

1、jquery弹层方式: // var returndata = window.showModalDialog("/child.jsp", reqObj, "dialogHeight: 300px; dialogWidth: 800px; edge: Raised; center: Yes; help: No; resizable: no; status: No;"); 2、jquery ajax提交方式: var params={}; $j.ajax({ url:url, data:params, async:false, //false-同步 true-异步 cache: false,…

2013-09-16 18:00 · jquery · 评论(0)

jquery获取当前时间

<!DOCTYPE html> <html class="no-js"> <head> <meta charset="UTF-8"> <title>当期时间</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script> <style type="text/css"> .date{height:100px;line-height:100px;margin:0 auto;font-family:Arial, Helveti…

2013-09-14 15:12 · jquery · 评论(0)

ibator插件自动生成ibatis 的sqlmap

http://blog.sina.com.cn/s/blog_64c0d0ae0100sagl.html

2013-08-16 16:10 · ibatis · 评论(0)

webSphere安装及参数配置

详细请参见附件,安装软件下载地址参见附件内容提供。

2013-07-10 00:41 · webSphere · 评论(0)

单例模式

单实例的正确写法 并文章属于Java并发编程实战中例子。但结合实际场景进行了阐述。 通常,我们如果写一个单实例模式的对象,一般会这样写: 写法一: public class Singleton { private static final Singleton instance = new Singleton(); /** * 防止其他人new对象 */ private Singleton(){ System.out.println("init"); } public static Singleton getInstance(){ return instance; } } 这种方式叫饥饿式单实…

2013-07-08 23:18 · 多线程 · 评论(0)

安装XP虚拟机(安装软件)

【收藏】

2013-07-08 22:31 · 系统 · 评论(0)

FTP上传

package com.ideal.portal.base.util.ftpUtil; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.Date; import org.apache.commons.io.IOUtils; import org.apache.commons.lang.RandomStringUtils; import org.apache.commons.net.ftp.FTPClient; import com.ideal.p…

2013-07-03 15:49 · 日常问题 · 通讯协议 · 评论(0)