ITeye博客

2012 年文章归档

共 4 篇文章

MAVEN 使用总结

1.打包错误:Could not find artifact com.sun:tools:jar:1.5.0 at specified path C:\Program Files\Java\jre1.6.0_07/../lib/tools.jar -> [Help 1] 修正:将jre home修改为: C:\Program Files\Java\jdk1.6.0_07

2012-11-27 10:19 · MAVEN

JQuery -- this 和 $(this) 的区别

<script type="text/javascript"> $(document).ready(function(){ $("div").each(function(){ alert($(this).html() + "----" + this.tagName + "--" + $(this)[0].id); alert((this == $(this)[0])); $(this).attr("title", $(this).html()); }); }); </script> </head> <body> <div id="node1">sss1</div> <div id="node…

2012-03-26 15:56 · JQuery

collectionTest

package list; import java.util.Iterator; import java.util.List; public class TestList { /** * List集合性能测试类 * Usage: java com.test.collection.TestList ListClassName MAX_TIMES * 例:java com.test.collection.TestList LinkedList 100000 */ public static void main(String[] args) { //if (args != null && args…

2012-02-27 22:31 · web · JDK Executor

mysql

select * from ques a where (select count(*) from ques b where b.class = a.class and b.score > a.score )< 2 CREATE TABLE `ques` ( `id` int(11) NOT NULL auto_increment, `name` varchar(32) default NULL, `class` int(11) default NULL, `score` int(11) default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFA…

2012-02-27 21:53 · mySQL