摘要:
转自: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... 阅读全文
摘要:
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. 阅读全文