- 浏览: 21050 次
- 性别:
- 来自: 南京
最近访客 更多访客>>
最新评论
-
qp3db:
求点击每个色块的动作。如:this.$canvas.onCli ...
基于JQUERY的PieChart统计用饼图0.1版
文章列表
本人已成仙,有事请发烟,佛说有烟没火成不了正果,有火没烟成不了仙!
Relationship type to import more than 1000 lines
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(hos ...
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)
...
Object object = MethodUtils.invokeMethod(Class.forName("类名").newInstance(), "方法名", new Object[] {参数});
struts.xml
<!-- 指定Web应用的默认编码集,相当于调用HttpServletRequest的setCharacterEncoding方法 -->
<constant name="struts.i18n.encoding" value="UTF-8" />
<!-- 设置浏览器是否缓存静态内容,默认值为true(生产环境下使用),开发阶段最好关闭 -->
<constant name="struts.serve.static.browserCache" value ...
在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下的目录文件夹
时间比较结果为HH:MM格式
- 博客分类:
- j2se
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.pri ...
花生米AJAX-UI系列之:基于JQUERY的PieChart统计用饼图0.1版特点:本功能类是建立在JQUERY1.3.2的基础之上//feature://1.饼图的标题,各种数据的颜色、名称及数量均可自定义,总数量将交由控件自动算出//2.饼图的圆心所在CANVAS中的位置, ...
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 ...
<!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"></h ...
- 2009-11-13 00:28
- 浏览 1017
- 评论(0)
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"&g ...
- 2009-11-13 00:26
- 浏览 1010
- 评论(0)
在csdn上转载的,作者忘记喽,下次看到在补上
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" c ...
- 2009-11-02 15:29
- 浏览 803
- 评论(0)
例如: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. ...
- 2009-10-26 12:10
- 浏览 2577
- 评论(0)