- 浏览: 198784 次
- 性别:
- 来自: 广州
最新评论
-
songyubo:
AnnexXML ?
InputStream转换为File -
li370036149:
3q
maven实战的pdf
文章列表
package vo;
public class User {
private int id;
private String name;
private String password;
public User(int id, String name, String password) {
super();
this.id = id;
this.name = name;
this.password = password;
}
public int getId() {
return id;
}
public void setId(int id) { ...
oracle resource
select * from (select rownum as rn,e1.* from (select * from emp) e1 where rownum<=10) e2 where e2.rn>=5;
/**
* @param args
*/
public static void main(String[] args) {
try{
//Classs.forName("oracle.jdbc.driver.OracleDriver");
Class.forName("oracl ...
@echo off
color 0a
title windows7系统垃圾清理---
echo....清理系统垃圾文件,请稍等......
echo 清理垃圾文件,速度由电脑文件大小而定。在没看到结尾信息时
echo 请勿关闭本窗口。
echo 正在清除系统垃圾文件,请稍后......
echo 删除补丁备份目录
RD %windir%\$hf_mig$ /Q /S
echo 把补丁卸载文件夹的名字保存成2950800.txt
dir %windir%\$NtUninstall* /a:d /b >%windir%\2950800.txt
echo 从2950800.tx ...
/**
* $RCSfile: Cache.java,v $
* $Revision: 1.5 $
* $Date: 2002/05/10 21:53:20 $
*
* Copyright (C) 1999-2002 CoolServlets, Inc. All rights reserved.
*
* This software is the proprietary information of CoolServlets, Inc.
* Use is subject to license terms.
*/
package com.jivesoftware.util;
/ ...
package util;
import java.util.ArrayList;
import java.util.List;
/**
*
*
*/
public class StringUtil {
/***
*
* @param s 要匹配的字符窜 如:aaa${user}bbb${people.name}cccc${people.age}ddd${people.kk.ah.fgh}
* @param pref 字符窜前最 如:${
* @param end 字符窜后最 如:}
* @return 如:List${}间的字符窜,如:user对应 ...
test.ftl
<html>
<head>
<title>Welcome!</title>
</head>
<body>
<h1>Welcome ${user} !</h1>
<p>Our latest product:</p>
<a href="${latestProduct.url}">${latestProduct.name}</a>
</body>
Test.java
package test; ...
package util;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
/***
...
update test1 e1 set name=(select key from test2 e2 where e1.ID=e2.ID)
where ID in(select b.ID from (select * from test1) a join (select * from test2) b on a.ID=b.ID);
package servlet;
import java.io.IOException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.oreilly.servlet.MultipartRequest;
...
package util;
import java.awt.Font;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.axis.CategoryAxis;
import org.jfree.chart.axis.ValueAxis;
import org.jfree.chart.plot.CategoryPlot;
import org.jfree.chart.title.TextTitle;
public class JfreeChartUtil {
/***
* 解决中文乱码
* @param char ...
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<outputDirectory>target/A/lib/classes</outputDirectory>
</build>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin ...
http://java.chinaitlab.com/special/patterns/Index.html
http://java.chinaitlab.com/model/768909_2.html