我的評論
re: 自用小框架:DB工廠 G_G 2007-09-19 13:30
還沒加 但后面有時間會 加上 的
re: 自用小框架:DB工廠 G_G 2007-09-19 12:19
千里冰封 謝謝 ^_^
re: jsp頁面 模塊化 (top+left+center)格式 G_G 2007-09-18 14:04
謝謝
提醒
提醒
re: 歡迎大家來我的博客 G_G 2007-09-14 17:32
我也是網絡畢業的 哈哈 有緣 呵呵
現在j2ee開發 有興趣其實學的 很快的 !!
現在j2ee開發 有興趣其實學的 很快的 !!
re: Ajax uri 亂碼問題總結(IE,FF) G_G 2007-09-14 09:20
(new fun()).toJSONString 會得到 '{"name","liukaiyi";"avg",23.....}' 數據字符
re: json 使用 G_G 2007-09-13 11:36
自己沙發
re: Ajax uri 亂碼問題總結(IE,FF) G_G 2007-09-13 10:34
望大家有一個好的方法 IE 和 FF 都沒亂碼 55555
re: jxpath 學習筆記 G_G 2007-09-05 17:26
1 2 3
4 5 6
7 8 9
...
28 29 30
結果集
sum( .[1]/num1 ) 會全加 不會就第一個 ?
sum( .[num1=1]/*[contains(name(),'num')] ) 模糊查詢使用 結果:6
sum( .[num1=1]/*[contains(name(),'num')] ) + sum( .[num1=4]/*[contains(name(),'num')] )
sum( .[num1=1 or num1=4]/*[contains(name(),'num')] )
結果:21
.[position()=last()]/num1 錯誤? 不支持 last()
等方法嗎?
.[last()]/num1 結果 1
.[last()-1]/num1 錯誤 jxpath 對定位好象不太兼容 。
substring-after('1999/04/01','/') 結果04/01
.[num1=1]/*[name()='num1'] 結果:1
last() 結果:10
.[num1=4]/*[string-length( name() )<=4 ] 結果: 4 5 6
4 5 6
7 8 9
...
28 29 30
結果集
sum( .[1]/num1 ) 會全加 不會就第一個 ?
sum( .[num1=1]/*[contains(name(),'num')] ) 模糊查詢使用 結果:6
sum( .[num1=1]/*[contains(name(),'num')] ) + sum( .[num1=4]/*[contains(name(),'num')] )
sum( .[num1=1 or num1=4]/*[contains(name(),'num')] )
結果:21
.[position()=last()]/num1 錯誤? 不支持 last()

.[last()]/num1 結果 1
.[last()-1]/num1 錯誤 jxpath 對定位好象不太兼容 。
substring-after('1999/04/01','/') 結果04/01
.[num1=1]/*[name()='num1'] 結果:1
last() 結果:10
.[num1=4]/*[string-length( name() )<=4 ] 結果: 4 5 6
re: EL 標簽小例 G_G 2007-08-02 10:14
自己沙發下
re: 用javascript 建 tree[未登錄] G_G 2007-08-01 09:17
謝謝提醒
re: ajax 的 輸入選擇 (同google&讀數據庫) [未登錄] G_G 2007-07-30 09:50
我寫到這份上了 應該可以安你的想法改 是很 好改的了
re: hibernate 初包裝(簡單) G_G 2007-07-05 13:36
那 大家 的 hibernate 有沒有好的 方法寫?
re: hibernate 初包裝(簡單) G_G 2007-07-05 13:35
非主流 想法
呵呵 希望大家說出 這樣的不足 和 自己看法
我發現 大量的 寫 session 的 開始 和結束 了
呵呵 希望大家說出 這樣的不足 和 自己看法
我發現 大量的 寫 session 的 開始 和結束 了
re: 公司Eclipse-RCP培訓PPT教材 G_G 2007-07-02 17:09
謝了先
re: javascript 在客戶端繪制圖表系列二——柱圖 G_G 2007-07-02 15:42
學習中 :)
re: select集連+xml+選擇提交 (Ajax局部刷新) G_G 2007-07-02 15:40
@-274°C
你是 javascript 在客戶端繪制圖表系列 的作者 嗎?
啊 我正 看你的 東西 你幫我大忙了 謝謝
你是 javascript 在客戶端繪制圖表系列 的作者 嗎?
啊 我正 看你的 東西 你幫我大忙了 謝謝
re: js腳本常用代碼 [未登錄] G_G 2007-06-14 09:07
好全啊
謝了
謝了
re: Struts 2與AJAX(第一部分)[未登錄] G_G 2007-06-14 09:06
頂上
好東西
好東西
re: javascript 面向對象特性與編程實現[未登錄] G_G 2007-06-14 08:50
有 prototype 代碼哦
re: 頁面嵌入在線聊天 (prototype) G_G 2007-06-13 14:57
@劉明
上頭下載的 就是 不過沒 lib :( 有點大
你可以看 .classpath 放lib 我的 .classpath 有點亂
你加 struct 的 lib 就可以了
{ 有 動態建表(2) bean[] 直接到建表 (擴展也很好) 的文檔的 lib 在里面 }
對不起大家了
有問題 到我
liukaiyi@gmail.com 留言 謝謝
上頭下載的 就是 不過沒 lib :( 有點大
你可以看 .classpath 放lib 我的 .classpath 有點亂
你加 struct 的 lib 就可以了
{ 有 動態建表(2) bean[] 直接到建表 (擴展也很好) 的文檔的 lib 在里面 }
對不起大家了
有問題 到我
liukaiyi@gmail.com 留言 謝謝
re: java報表 Cell50 [未登錄] G_G 2007-06-13 08:27
....
re: 能為你的程序錦上添花的五種程序組織形式 G_G 2007-06-06 12:37
謝謝
re: 能為你的程序錦上添花的五種程序組織形式 G_G 2007-06-06 11:25
我的愚見
可用一個 記憶法 走try...catch
先給類中來個 List 再 try 中 先走 List 判斷 再 catch 中異常 加載入List
try{
if( action( List ) ){
.....
}
}catch(){
List.add( ...... );
}
我的想法是 這一行錯了 下一行在 action( List ) 中就可以有動作 不 再異常
難點是 很好的組織 下 action( List )處理
可用一個 記憶法 走try...catch
先給類中來個 List 再 try 中 先走 List 判斷 再 catch 中異常 加載入List
try{
if( action( List ) ){
.....
}
}catch(){
List.add( ...... );
}
我的想法是 這一行錯了 下一行在 action( List ) 中就可以有動作 不 再異常
難點是 很好的組織 下 action( List )處理
re: 能為你的程序錦上添花的五種程序組織形式[未登錄] G_G 2007-06-06 09:43
從集合中取區間元素時,可以直接從上下限之間取來,讓try...catch...去處理越界的事.
這個觀點 我不太認同 要是在 一個數據查尋中 那就每條語句就有 try catch
那我有一萬條數據查出 走catch 的 速度。。。
這個觀點 我不太認同 要是在 一個數據查尋中 那就每條語句就有 try catch
那我有一萬條數據查出 走catch 的 速度。。。
動態javascript建表 G_G 2007-06-05 17:37
問題: Ajax 讀出來xml 怎么由 javascript 建表
解決: var dom = new ActiveXObject("Microsoft.XMLDOM"); //得到 XMLDom 對象
并 dom.loadXML( request.responseText ) ;
由prototype 的 request.responseText 填 充 XMLDom
http://localhost:7000/xxs/test.do 返回
<?xml version="1.0" encoding="gb2312" ?>
- <mans>
- <man>
<name>google</name>
<avg>23</avg>
</man>
- <man>
<name>heha</name>
<avg>23</avg>
</man>
</mans>
一個String 弄出來的 XML 大概就如下
























































































re: 在客戶端避免表單重復提交以及正式版Aptana——JS IDE使用體驗[未登錄] G_G 2007-05-29 09:00
感激
re: My Ajax G_G 2007-05-21 17:20






































re: My Ajax G_G 2007-05-21 14:17
對象 | 屬性 | 方法 |
XMLDocument |
documentElement
得到 root |
|
HTMLCollection | length 得到長度 | item(i) 得到 Element |
Element | .firstChild.nodeValue 得到 value? | getAttribute('id') 得到 attribut |
其他屬性方法參見 http://wddavid.cnblogs.com/archive/2005/07/25/199358.html

function searchSales()
{
var url = "MyXml.xml";
var myAjax = new Ajax.Request(
url,

{
method: 'get',
onComplete: test
});
}

function test(request)


{
var dom = request.responseXML;
var root = dom.documentElement;
var body = root.getElementsByTagName('body').item(0);

var pid_1 = function()
{
var listP = body.getElementsByTagName('p');

for(var i=0; i<listP.length; i++)
{
if(listP.item(i).getAttribute('id')=='2')
return listP.item(i);
}
return null;
}
// alert(oHtml.childNodes.item(0));
// alert(oHead.parentNode==oHtml);
// alert( oP.item(0).getAttribute('id') );
// alert( oP.item(0).attributes.getNamedItem("id").nodeValue );
// alert( oP.getAttribute('id') );
alert(pid_1().firstChild.nodeValue);
}









































re: My Ajax G_G 2007-05-18 17:35
































re: 【破門點滴】敏捷究竟需要什么? G_G 2007-05-18 12:28
初DTD
頂上先
頂上先
re: struts G_G 2007-05-18 09:20

//等 中自己 找




//為 corpName 選值 corpId 為提交值
</html:select>
</logic:match>
<logic:lessThan name="corpId" value="99">段選擇:// 在request 中 corpId 小于 99
<html:select property="id" onchange="selectDu()">
<html:option value="--段選擇--" />
<logic:notEmpty name="selectDuId" >
<html:options property="corpId" collection="selectDuId" labelProperty="corpName" />
</logic:notEmpty>
</html:select>
</logic:lessThan>












有關 cactus 的 G_G 2007-05-15 09:40

時間范圍 G_G 2007-05-15 09:20

半終結 版 哈哈 [未登錄] G_G 2007-05-08 17:28
function test(){
e = window.event ? window.event : event;
var x = e.clientY;
var y = e.clientX;
var div = document.createElement("<div onmousedown=mousedown(this)>");
div.style.top = x;
div.style.left = y;
div.style.width = 50 ;
div.style.height = 50;
div.style.cursor = "move";
div.style.position= "absolute";
div.style.backgroundColor = "Blue";
document.body.appendChild(div);
}
function mousedown(obj)
{
obj.onmousemove = mousemove;
obj.onmouseup = mouseup;
oEvent = window.event ? window.event : event;
x = oEvent.clientX;
y = oEvent.clientY;
}
function mousemove()
{
oEvent = window.event ? window.event : event;
var _top = oEvent.clientY - y + parseInt(this.style.top) + "px";
var _left = oEvent.clientX - x + parseInt(this.style.left) +"px";
this.style.top = _top;
this.style.left = _left;
x = oEvent.clientX;
y = oEvent.clientY
}
function mouseup()
{
this.onmousemove = null;
this.onmouseup = null;
}
拖動 帶點 G_G 2007-05-08 13:14
<script src='test.js'></script>
<body ondblclick='test()'>
</body>
<body ondblclick='test()'>
</body>
拖動 帶點 G_G 2007-05-08 13:14
var start = '<script src=test.js></script><body ondblclick=test()>';
var end = '</body>';
function test(){
oEvent = window.event ? window.event : event;
start += '<div id="div1" style="width: 100px; height: 100px; top:'+oEvent.clientY+'px; left:'+oEvent.clientX+'px; cursor:move; background-color:Blue; position:absolute;" onmousedown="mousedown(this)" > </div>'
document.write(start+end);
}
function mousedown(obj)
{
obj.onmousemove = mousemove;
obj.onmouseup = mouseup;
oEvent = window.event ? window.event : event;
x = oEvent.clientX;
y = oEvent.clientY;
}
function mousemove()
{
oEvent = window.event ? window.event : event;
var _top = oEvent.clientY - y + parseInt(this.style.top) + "px";
var _left = oEvent.clientX - x + parseInt(this.style.left) +"px";
this.style.top = _top;
this.style.left = _left;
x = oEvent.clientX;
y = oEvent.clientY
}
function mouseup()
{
this.onmousemove = null;
this.onmouseup = null;
}
re: html 簡單 div 拖動 G_G 2007-05-08 12:45
<div id="div1" style="width: 100px; height: 100px; top:10px; left:15px; cursor:move; background-color:Blue; position:absolute;" onmousedown="mousedown(this)" > </div>
re: 用osworkflow寫一個請假例子 G_G 2007-04-20 16:17
房主不厚道
:(
:(
re: 聲援王開源!!![未登錄] G_G 2007-04-20 15:43
沙發
開源 萬歲
開源 萬歲
re: 求救!! struts + spring G_G 2007-04-18 17:03
我先自己頂下 有大蝦嗎 9999 啊!
re: 根據name調用getName方法 G_G 2007-04-12 17:36
沙發