ITeye博客

xrqsjj

xrqsjj · 共 15 篇文章

jquery 下拉

jqueryjqueryjqueryjqueryjquery

2011-11-02 02:00 · 琐事 · 评论(0)

翻译en

本人已成仙,有事请发烟,佛说有烟没火成不了正果,有火没烟成不了仙! Relationship type to import more than 1000 lines

2011-05-27 17:56 · 评论(0)

ftp 连接

import java.io.*; import java.net.*; import sun.net.ftp.FtpClient; class CustomFtpClient extends FtpClient { public CustomFtpClient(String host) throws IOException { super(host); } public CustomFtpClient(String host, int port) throws IOException { super(host, port); } public CustomFtpClient() { sup…

2011-03-30 00:16 · j2se · 评论(0)

线程调度

public class Test { public static void main(String[] args) { Thread t1 = new SubThread(); t1.start(); for (int i = 0; i < 20; i++) { System.out.println("主线程第" + i + "次执行!"); if (i > 2) try { // t1线程合并到主线程中,主线程停止执行过程,转而执行t1线程,直到t1执行完毕后继续。 t1.join(); } catch (InterruptedException e) { e.printStackTra…

2011-03-18 11:21 · j2se · 评论(0)

org.apache.commons.beanutils.MethodUtils 类反射

Object object = MethodUtils.invokeMethod(Class.forName("类名").newInstance(), "方法名", new Object[] {参数});

2010-11-02 14:56 · j2se · 评论(0)

SSH集成-Struts2

struts.xml <!-- 指定Web应用的默认编码集,相当于调用HttpServletRequest的setCharacterEncoding方法 --> <constant name="struts.i18n.encoding" value="UTF-8" /> <!-- 设置浏览器是否缓存静态内容,默认值为true(生产环境下使用),开发阶段最好关闭 --> <constant name="struts.serve.static.browserCache" value="false" /> <!-- 当struts的配置文件修改后,系统是否自动重新加载该文件,默认值为false(生…

2010-09-30 10:11 · j2ee · 评论(0)

SSH2集成-Spring

在web.xml中配置需要加载的大量spring配置文件 <context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/spring-configuration/*.xml </param-value> </context-param> spring-configuration为WEB-INF下的目录文件夹

2010-09-30 09:35 · j2ee · 评论(0)

时间比较结果为HH:MM格式

public static void main(String[] args) { SimpleDateFormat fmt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String s ="2010-09-28 14:10:00"; String e ="2010-09-28 15:11:00"; try { System.out.println("e = "+fmt.parse(e).getTime()); System.out.println("s = "+fmt.parse(s).getTime()); long ss = (fmt.p…

2010-09-28 14:25 · j2se · 评论(0)

基于JQUERY的PieChart统计用饼图0.1版

花生米AJAX-UI系列之:基于JQUERY的PieChart统计用饼图0.1版 特点: 本功能类是建立在JQUERY1.3.2的基础之上 //feature: //1.饼图的标题,各种数据的颜色、名称及数量均可自定义,总数量将交由控件自动算出 //2.饼图的圆心所在CANVAS中的位置,饼图的半径,每个色区中显示数值的类型都可自定义 //3.饼图的CANVAS,颜色说明在relative定位模式的content内容框中均为absolute定位模式,用户可根据需要自行定义它们的长宽,上边距和左边距,以及排列方式 //4.可动态用AJAX方式远程载入要显示的一组数据。 //5.本品不含任何图片…

2009-12-25 00:36 · 评论(1)

Quartz

Quartz api

2009-12-03 21:30 · 评论(0)

action传递js

HttpServletResponse response = ServletActionContext.getResponse(); response.setContentType("text/html;charset=utf-8"); PrintWriter out = response.getWriter(); out.print("<script> alert('The selected item is processing'); window.location.href =a.jsp?state=" + state + "';</script>");

2009-11-23 13:37 · 评论(0)

js select

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " http://www.w3.org/TR/html4/loose.dtd "> <html> <head> <title>Select下拉列表框进行多选、移除、交换内容</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </head> <body style="font-size:12px"> <script language=javascript> funct…

2009-11-13 00:28 · 评论(0)

jquery select

http://www.blogjava.net/absolutedo/archive/2009/02/20/255790.html <table width="95%" cellpadding="0" align="center" class="listshow" border="1" cellspacing="0"> <tr> <td colspan="4" align="center">选择分包</td> </tr> <tr> <td class="black" width="30%" align="center" height="150"> <select id="fb_list" m…

2009-11-13 00:26 · 评论(0)

两个select

在csdn上转载的,作者忘记喽,下次看到在补上 </td> <td> <table> <tr> <td><input type="button" id="btn1" value="-> " onclick="addItem(selectColor,selectSo)"/></td> </tr> <tr> <td><input type="button" id="btn2" value="->>" onclick="allAddItem(selectColor,selectSo)"/></td> </tr> <tr> <td><input type="button" id="btn3" val…

2009-11-02 15:29 · 评论(0)

poi 3.2 动态设定excle单元格格式

例如:selet import java.io.FileOutputStream; import java.util.Date; import org.apache.poi.hssf.usermodel.DVConstraint; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFDataValidation; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermo…

2009-10-26 12:10 · poi · 评论(0)