上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页
摘要: String filepath = "E:\\config.xml"; HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost("http://localhost:... 阅读全文
posted @ 2015-08-26 23:28 rubekid 阅读(1149) 评论(1) 推荐(0)
摘要: /** * 获得指定文件的byte数组 */ public static byte[] getBytes(String filePath){ byte[] buffer = null; try { File... 阅读全文
posted @ 2015-08-26 23:07 rubekid 阅读(510) 评论(0) 推荐(0)
摘要: http://mvnrepository.com/http://search.maven.org/http://repository.sonatype.org/content/groups/public/http://people.apache.org/repo/m2-snapshot-reposi... 阅读全文
posted @ 2015-08-23 18:03 rubekid 阅读(129) 评论(0) 推荐(0)
摘要: public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, ... 阅读全文
posted @ 2015-08-19 21:46 rubekid 阅读(328) 评论(0) 推荐(0)
摘要: public class WebClient { public static final String POST_TYPE_JSON = "json"; public static final String POST_TYPE_MULTI = "multi"; publi... 阅读全文
posted @ 2015-08-19 17:27 rubekid 阅读(322) 评论(0) 推荐(0)
摘要: List command = new ArrayList(); command.add("ping"); ProcessBuilder processBuilder = new ProcessBuilder(command); Process... 阅读全文
posted @ 2015-08-13 22:40 rubekid 阅读(203) 评论(0) 推荐(0)
摘要: 去掉样式backface-visibility:hidden; 阅读全文
posted @ 2015-07-28 18:19 rubekid 阅读(177) 评论(0) 推荐(0)
摘要: 一、使用Class.forName1、装载类Class clazz = Class.forName("xx.xx.xx");2、初始化对象clazz.newInstance()二、使用 newnew Object();使用Class.forName的好处,比如加载数据库驱动,若更换数据库,则需要更换... 阅读全文
posted @ 2015-07-23 22:02 rubekid 阅读(328) 评论(0) 推荐(0)
摘要: web.xml site index.jsp com.rubekid.listener.OnlineListener contextConfigLocation /W... 阅读全文
posted @ 2015-07-22 11:30 rubekid 阅读(910) 评论(0) 推荐(0)
摘要: -webkit-backface-visibility: hidden; 阅读全文
posted @ 2015-07-22 09:42 rubekid 阅读(761) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页