摘要: JSON格式的配置文件(config.json): { version : "1.1.0", db_config : { url: "jdbc:mysql://192.168.1.118/xxx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull", username : "root", password : "root123" }, redis : { host : "192. 阅读全文
posted @ 2013-05-03 14:54 易木 阅读(585) 评论(0) 推荐(0) 编辑
摘要: Http测试主程序 1 package http; 2 import java.util.concurrent.ExecutorService; 3 import java.util.concurrent.Executors; 4 5 public class HttpTester { 6 7 /** 8 * 各个HTTP请求的URL,参数通过StringUtils.format填充 9 */ 10 static final String BASE_URL = "http://10.10.8.35:82"; 11 static ... 阅读全文
posted @ 2013-05-03 09:55 易木 阅读(1966) 评论(0) 推荐(0) 编辑