一个人-我的学习随笔

有时候对待技术就好像对待女人,我们通常在已经了解或者相信她有着诱人的身体的时候,才会乐于或者有耐心对待脱衣的前戏。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页

2006年7月12日

摘要: 轉自http://tech.sina.com.cn/soft/2000-09-27/775.html软件世界 毛顿 在开发应用程序时往往需要获取当前系统时间。尽管Y2K似乎已经平安过去,但在我们新开发的应用程序中还是要谨慎处理“时间”问题。 在《融会贯通--Delphi4.0实战技巧》(以下简称“该书”)第89页专门介绍了两种获取当前系统时间的方法,但这两种方法都存在不足或错误,以下就此进行讨... 阅读全文
posted @ 2006-07-12 10:38 oisiv 阅读(582) 评论(0) 推荐(0) 编辑

2006年6月27日

摘要: 在項目開發中,由於涉及到國際化,所以採用該工具進行轉換,將中文字符轉為unicode的ascii形式.項目開發平台是繁體2k系統,簡單例子,msg.txt原始內容為簡體中文(即,msg.txt中是big5編碼)1.所以得到繁體字的編碼可以直接運行:native2ascii msg.txt msg_zh_TW.properties得到編碼為 \u7c21\u9ad4\u4e2d\u6587(在頁面顯... 阅读全文
posted @ 2006-06-27 20:55 oisiv 阅读(1005) 评论(0) 推荐(0) 编辑

2006年6月22日

摘要: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You h... 阅读全文
posted @ 2006-06-22 01:06 oisiv 阅读(550) 评论(0) 推荐(0) 编辑

2006年6月21日

摘要: 在jboss4的解壓目錄下$jboss_home/server/default/deploy/jbossweb-tomcat55.sar/server.xml,添加以下行即可.... 注,在jboss啟動控制台中看不到該web被發布,但實際上已經發布,可以訪問. 阅读全文
posted @ 2006-06-21 18:58 oisiv 阅读(448) 评论(0) 推荐(0) 编辑

2006年6月9日

摘要: 当我将旧的工程(呵呵,还包含临时目录,这是出错的原因之一)从新发布到新的环境后,就发现出现这样的问题.后来上网查查,原来是jdk版本的问题. 工程原先是用jdk5.0编译的,新环境是1.4,所以出现这样的问题.当我从新在1.4下编译后,还是出现同样的问题.只好又去查查,不过网上都是同样的解释,没有我这种情况出现.仔细想了一下,好像jsp有缓存,于是,我到jboss下吧tmp和work目录下相... 阅读全文
posted @ 2006-06-09 15:19 oisiv 阅读(2566) 评论(0) 推荐(0) 编辑

摘要: 使用系統用戶導入導出數據exp userid=system/manager owner=username1 file=expfile.dmpimp userid=system/manager fromuser=username1 touser=username2 ignore=y file=expfile.dmpor根據當前用戶來導入導出數據exp test/test@test full=y ro... 阅读全文
posted @ 2006-06-09 11:49 oisiv 阅读(1466) 评论(2) 推荐(0) 编辑

2006年5月25日

摘要: 一:儘量重用對象,避免創建過多短時對象 對象在面向對象編程中隨處可見,甚至可以毫不誇張的說是:“一切都是對象”。如何更好的創建和使用對象,是優化中要考慮的一個重要方面。筆者將對象按使用分為兩大類:獨享對象和共用對象。獨享對象指由某個線程單獨擁有並維護其生命週期的對象,一般是通過new 創建的對象,線程結束且無其他對這個對象的引用,這個對象將由垃圾收集機制自動GC。共用對象指由多個線程共用的對象,各... 阅读全文
posted @ 2006-05-25 10:59 oisiv 阅读(230) 评论(0) 推荐(0) 编辑

2006年5月23日

摘要: 文件操作 string path = @"e:\MyTest.txt"; DateTime dt = DateTime.Now; if (!File.Exists(path)) { // Create a file to write to. using (Str... 阅读全文
posted @ 2006-05-23 16:32 oisiv 阅读(261) 评论(0) 推荐(0) 编辑

2006年4月25日

摘要: 轉自http://iamin.blogdriver.com/iamin/1139925.html The serializable class XXX does not declare a static final serialVersionUID field of type long serialVersionUID作用: 序列化时为了保持版本的兼容性,即在版本升级时反序列化仍保持对象的唯一性。... 阅读全文
posted @ 2006-04-25 12:13 oisiv 阅读(1144) 评论(0) 推荐(1) 编辑

2006年4月24日

摘要: 轉自http://builder.com.com/5100-6370-5031836.htmlOne of the most boring parts of a Java project, and one that developers invariably shy away from, is the code review. Checking thousands of lines of some... 阅读全文
posted @ 2006-04-24 21:07 oisiv 阅读(304) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页