随笔 - 6  文章 - 129  trackbacks - 0
<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

常用链接

留言簿(14)

随笔档案(6)

文章分类(467)

文章档案(423)

相册

收藏夹(18)

JAVA

搜索

  •  

积分与排名

  • 积分 - 815432
  • 排名 - 49

最新评论

阅读排行榜

评论排行榜

我的评论

正在找这,太谢谢你了
不能下载游戏
为什么不能下载游戏
@yao
已发到邮箱
re: 资源分享[未登录] Ke 2010-08-24 13:48  
@Brian
这个也不错: http://mirrors.163.com/
@landon
嗯,希望你能找到滿意的工作!
胡说八道,误人子弟。inverse属性是指定主控方的,cascade是级联动作,就是说cascade指定的动作会在哪一端维护,要靠inverse来指定。两者实现作用就不同,何来异同?

这个说的正确,inverse是制定主控方的,cascade是级联动作,选all或其他例如save-update。
是的!再說SPRING和STRUTS2整合struts.xml中應該寫成這樣
<bean name="/login" class="LoginActionBean " singleton="false">@jiangsha
@ffychina
是个不错的方法有空试试,谢了!
@yupeng_raul7@hotmail.com
数组下标越界了吧,照那异常来看,细心好好检查下吧
re: db2常用命令大全[未登录] ke 2008-08-15 10:10  
楼主,问你个问题,我想从DB2上边导数据出来.我机器装了客户端,怎么db2move都没法用的.是不是只能远程登到服务器上导啊.谢谢
re: Struts 2中的OGNL KE 2008-06-12 09:37  
不错
re: [转]我的Java学习之路 KE 2008-03-03 12:35  
学习JAVA就是这样.
讲得好了.很详细啊.郁闷了几天,终于运行成功了我的第一个JMS例子.很开心.得多谢文章的主人
问题解决了
只需要对查询条件的字符内容进行编码就行了.
new String(searchStr.getBytes("ISO-8859-1"))
嗯.把struts.devMode设置为false就没有了
谢了.
不知道能不能用到SWT里面?
这是SUN JVM特有的一个问题, SUN JVM用一个叫做permanent generation的内存区域内来存放classloader载入的class,method之类的object, 而普通object则是放到heap里.
IBM JVM则是把class和object都统一放到heap里,所以如果程序比较大的话,用IBM JVM更好一些,不需要调优就能更充分的利用内存空间。
@我为J狂
I don't quite aggree on the 1st rule, there are advice on this problem in mozilla.
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Statements:for...in
"Although it may be tempting to use this as a way to iterate over an Array, this is a bad idea. The for...in statement iterates over user-defined properties in addition to the array elements, so if you modify the array's non-integer or non-positive properties (e.g. by adding a "foo" property to it or even by adding a method or property to Array.prototype), the for...in statement will return the name of your user-defined properties in addition to the numeric indexes. Also, because order of iteration is arbitrary, iterating over an array may not visit elements in numeric order. Thus it is better to use a traditional for loop with a numeric index when iterating over arrays."
The fifth one, I tested your code in FF2 and IE7, both alert "12".

var str="Java我选择,我喜欢!";
var charLength=str.length;

May be there are problem in lower version.
For the first rule, it is a tirck, ARRAY IS KIND OF OBJECT

var arr = [];
arr[-1]=-1;//add an property named "-1" on arr OBJECT
arr[1]=1; //put a value whose index is 1 into arr ARRAY
for(var k in arr)alert("arr[" + k + "]=" + arr[k]);
alert("length = " + arr.length);
for(var i=0;i<arr.length;i++)alert("arr[" + i + "]=" +arr[i]);
Don't aggree on the third rule, closure can provide better encapsulation.
The rule should be use closure to support private properties when possible.
function Person(name,sex)
{
var action='run';//private property
this.run=function(){//public method
alert(action);
};
}
re: 某一会员的JAVA书籍 KE 2007-10-29 10:17  
学习JAVA确实是如此啊,感觉自己上了大学,学了JAVA后,所看的书比未上大学之前所看的课外书要多得多,以前很少看书的除了课本,呵呵