Bob

As long as you are there to lead me ,I won't lose my way

常用链接

统计

积分与排名

JAVA

最新评论

2010年3月9日 #

ServletContext Properties 操作文件

     摘要: FileOutputStream fos = null;
try {
new File(sc.getRealPath("WEB-INF") + "/" + optionsFilename).delete();
fos = new FileOutputStream(sc.getRealPath("WEB-INF") +
"/" + optionsFilename);
props.store(fos, null);
fos.flush();
result = "Options have been saved.";
} catch (IOException e) {
log.error("Error saving contact:");
  阅读全文

posted @ 2010-03-09 22:19 KE 阅读(3) | 评论 (0)编辑 收藏

2010年2月25日 #

Delphi中关于文件、目录操作的函数

posted @ 2010-02-25 15:31 KE 阅读(3) | 评论 (0)编辑 收藏

2010年2月21日 #

下一个目标,下一个梦想

     摘要: 人生就是一个梦想接一个梦想,实现一个再奔下一个   阅读全文

posted @ 2010-02-21 11:49 KE 阅读(40) | 评论 (2)编辑 收藏

2010年2月20日 #

Delphi 時間日期函数

posted @ 2010-02-20 16:33 KE 阅读(4) | 评论 (0)编辑 收藏

oracle 10G正則表達式

     摘要: begin
if REGEXP_LIKE('%123456kdAAAAa89879456kjdd', '^[[:alnum:]]+$') then
dbms_output.PUT_LINE('ok');
else
dbms_output.PUT_LINE('NG');
end if;
end;  阅读全文

posted @ 2010-02-20 08:48 KE 阅读(5) | 评论 (0)编辑 收藏

2010年2月11日 #

让delphi 的代码显示行号--CnWizards

posted @ 2010-02-11 14:48 KE 阅读(4) | 评论 (0)编辑 收藏

Delphi字符串函数大全

posted @ 2010-02-11 14:07 KE 阅读(4) | 评论 (0)编辑 收藏

Delphi 常用函數整理

     摘要: Delphi提供的字符串函数里有一个Pos函数,它的定义是:

function Pos(Substr: string; S: string): Integer;

  它的作用是在字符串S中查找字符串Substr,返回值是Substr在S中第一次出现的位置,如果没有找到,返回值为0。  阅读全文

posted @ 2010-02-11 13:59 KE 阅读(0) | 评论 (0)编辑 收藏

2010年2月8日 #

Delphi TIniFile 类 操作ini配置文件

posted @ 2010-02-08 14:36 KE 阅读(4) | 评论 (0)编辑 收藏

2010年2月6日 #

用xfire的Eclipse Plugin生成web服务的客户端(轉)

     摘要: 利用xfire生成web服务客户端的方法有多种,Eclipse Plugin为XFire的WSDL->Code generator提供了Eclipse支持,它需要Eclipse 3.2和Java 5。这里我们用Eclipse Plugin根据wsdl文件地址生成客户端代码,而我们只需要编写几行代码即可实现调用web服务  阅读全文

posted @ 2010-02-06 11:36 KE 阅读(1) | 评论 (0)编辑 收藏

2010年2月5日 #

MyEclipse下开发Web Service(XFire)

posted @ 2010-02-05 11:05 KE 阅读(3) | 评论 (0)编辑 收藏

2010年2月4日 #

CVS版本控制實踐建議

posted @ 2010-02-04 14:03 KE 阅读(1) | 评论 (0)编辑 收藏

2010年1月29日 #

linux CVS安裝和配置

     摘要: 第一次登錄會有cvs login: warning: failed to open /home/cvsuser/.cvspass for reading: No such file or directory類似的提示信息.以后登錄就不會有了.  阅读全文

posted @ 2010-01-29 14:15 KE 阅读(1) | 评论 (0)编辑 收藏

2010年1月22日 #

oracle計算一年中53個周分別的起始與結束日期

     摘要: 取得一年中53個周的開始和結束日期
SELECT tab_1.COLUMN_VALUE,
NEXT_DAY(TO_DATE('0101', 'mmdd'),'星期一') + tab_1.COLUMN_VALUE * 7 - 7 AS first_day,
NEXT_DAY(TO_DATE('0101', 'mmdd'),'星期一') + tab_1.COLUMN_VALUE * 7 - 1 AS LAST_DAY
FROM TABLE
(SELECT SPLIT ('1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53', ',')
FROM DUAL
) tab_1
  阅读全文

posted @ 2010-01-22 09:38 KE 阅读(9) | 评论 (0)编辑 收藏

2010年1月12日 #

SQL Explorer插件安装

posted @ 2010-01-12 09:00 KE 阅读(4) | 评论 (0)编辑 收藏

2010年1月10日 #

Oracle数据导入导出imp/exp命令 10g以上expdp/impdp命令

posted @ 2010-01-10 19:44 KE 阅读(2) | 评论 (0)编辑 收藏

2010年1月9日 #

[转]Cannot serialize session attribute--问题的解决

     摘要: Tomcat 问题: Cannot serialize session attribute XXX for ..的解决办法

在关闭和重启Tomcat 5时, tomcat 会试图 serialize存在的session资源. 如果 sessions中相关的对象没有实现 serializable 接口, 就会出现Cannot serialize session attribute XXX for 异常.
  阅读全文

posted @ 2010-01-09 10:22 KE 阅读(20) | 评论 (0)编辑 收藏

2010年1月5日 #

Tomcat 內存溢出

posted @ 2010-01-05 08:52 KE 阅读(19) | 评论 (0)编辑 收藏

2010年1月2日 #

Linux主机下配置Oracle 10G自动启动过程记(转)

posted @ 2010-01-02 23:43 KE 阅读(3) | 评论 (0)编辑 收藏

Eclipse 3.5 配置tomcatPlugin、lomboz、phpeclipse(转)

posted @ 2010-01-02 18:43 KE 阅读(64) | 评论 (0)编辑 收藏

2009年12月30日 #

激活Ubuntu 中的 root 帐号

posted @ 2009-12-30 16:16 KE 阅读(2) | 评论 (0)编辑 收藏

Ubuntu9.04下安装Oracle10.2(轉)

posted @ 2009-12-30 16:09 KE 阅读(13) | 评论 (0)编辑 收藏

ubuntu 9.04安装oracle 10g(轉)

posted @ 2009-12-30 13:48 KE 阅读(20) | 评论 (0)编辑 收藏

2009年12月24日 #

securityfilter-rememberme

     摘要: cookieLife (optional) specifies the number of days that you wish to keep the login cookie. The default if not specified is 15 days)
protection (optional) specifies the type of protection you want for the persisted cookie. Valid values are: all, validation, encryption, none. The default is not specified is all.  阅读全文

posted @ 2009-12-24 16:09 KE 阅读(18) | 评论 (0)编辑 收藏

2009年12月22日 #

jQuery+DWR動態編輯表格Script

     摘要: //edit table可編輯表格
var numTD = $("#datatable tbody td.edit");//排除掉不能被修改的單元格
numTD.dblclick(function(){
var inputobj = $("");//新建文本輸入框
var tdobj = $(this);//被編輯的單元格
var text = tdobj.html();

inputobj.val(text);
//important 一定要在插入文本框前進行判斷
if(tdobj.children("input").length > 0){
return fal  阅读全文

posted @ 2009-12-22 16:46 KE 阅读(30) | 评论 (0)编辑 收藏

仅列出标题