摘要:
设置Java Build Path -> Resource -> Default output folder 到一个新的文件夹XXXproject/WebContent/WEB-INF/classes1, 重新编译 重置到旧的文件夹 XXXproject/WebContent/WEB-INF/cla 阅读全文
摘要:
转自:http://ducquoc.wordpress.com/2010/11/06/eclipse-wtp-tomcat-hot-deploy/One of the reasons whyJavaEEdoes not have many succesful projects is that its... 阅读全文
摘要:
ant 错误ant Specified VM install not found: type Standard VM, name jdk1.6.0_27原因: 安装了新的jdk, 在workspace下旧的配置保存有原来的jdk信息解决方法: 删除C:\workspace\.metadata\.pl... 阅读全文
摘要:
转自:http://1985wanggang.blog.163.com/blog/static/7763833200942611050436/近日浏览论坛,发现好多人提问,都说在运行web程序时,服务器报出Error listenerStart的严重错误,导致页面无法正常访问或其他问题出现。这类问题... 阅读全文
摘要:
http://commons.apache.org/proper/commons-chain/http://commons.apache.org/proper/commons-chain/cookbook.htmlhttp://commons.apache.org/proper/commons-ch... 阅读全文
摘要:
http://commons.apache.org/proper/commons-collections/userguide.html1.UtilitiesSetUtilsCollectionUtilsMapUtils2.MapsMap Iteration IterableMap map = ne... 阅读全文
摘要:
http://commons.apache.org/proper/commons-lang/javadocs/api-release/org/apache/commons/lang3/package-summary.html1. Commons Lang 是对java.lang的一个扩展2. Str... 阅读全文
摘要:
http://commons.apache.org/proper/commons-beanutils/javadocs/v1.9.2/apidocs/org/apache/commons/beanutils/package-summary.html#package_description1. add... 阅读全文
摘要:
1. download maven fromhttp://maven.apache.org/2. unzip, setup MAVEN_HOME3. change the configuration in %MAVEN_HOME%/conf/settings.xml (1) add local repository, changeC:\software\apache-maven-3.1.1\m2_repository to your select folder, this folder used for save JARs (2) add proxy if you need4. downlo. 阅读全文
摘要:
gson 作用: json <-> java bean1. 基本类型(Serialization)Gson gson = new Gson();gson.toJson(1);==> prints 1gson.toJson("abcd"); ==> prints "abcd"gson.toJson(new Long(10));==> prints 10int[] values = { 1 };gson.toJson(values);==> prints [1](Deserialization)int one =gson. 阅读全文