JAVA
letian_w
这个作者很懒,什么都没留下…
展开
-
在Windows XP下配置Tomcat
首先下载这些软件:1:j2sdk-1_4_2_09-windows-i586-p.exe 2:jakarta-tomcat-5.0.28.exe 首先安装j2sdk-1_4_2_09-windows-i586-p.exe,这个简单,接下来就是配置环境变量。 用鼠标右键点我的电脑,在点高级,在点环境变量,在用户变量那里新建JAVA_HOME,加入你的JDK的 安装路径(转载 2008-05-27 17:27:00 · 894 阅读 · 0 评论 -
Read Resource File
import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.IOException;import java.util.Properties; public class ConvoyKBConstants { /** * * @param proName原创 2009-03-30 16:05:00 · 492 阅读 · 0 评论 -
List return for Search ResultSet
(1)Search ResultSet (Return List) public static List find(String fleet, String rank, int month) throws Exception { List lsDaily = new ArrayList(); Connection con = null; PreparedState原创 2009-04-16 16:52:00 · 657 阅读 · 0 评论 -
prepareStatement ps.setDate(int, Date)
prepareStatement ps.setDate(int, Date) 中的参数须为java.sql.Date; 当是java.util.Date时 ,需转为java.sql.Date时再set pram: java.sql.Date sd;sd = new java.sql.Date(dq.getDate().getTime()); //when dq.getDa原创 2009-04-17 17:01:00 · 6962 阅读 · 1 评论 -
Select Option Onchange
1. XWIKI Velocity: <selectid="seleUserGroup" onchange="getSeleGroup(this);">#foreach ($item in $list)#set($groupDoc= $xwiki.getDocument($item))#set($groupName=$groupDoc.name)<option转载 2009-05-11 13:42:00 · 1071 阅读 · 0 评论 -
java call procedure
public Integer createProjectRevision(Integer projectVerId, String refNum) throws SQLException { Connection dbConnection = null; CallableStatement stmt = null; ResultSet rs = nul原创 2009-10-14 14:54:00 · 1391 阅读 · 0 评论 -
Java 反编译工具 和 混淆器
Java 反编译工具 , 代码混淆器原创 2010-06-15 15:16:00 · 814 阅读 · 0 评论