摘要: 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 阅读(123) 评论(0) 推荐(0) 编辑
摘要: public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, ... 阅读全文
posted @ 2015-08-19 21:46 rubekid 阅读(323) 评论(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 阅读(314) 评论(0) 推荐(0) 编辑
摘要: List command = new ArrayList(); command.add("ping"); ProcessBuilder processBuilder = new ProcessBuilder(command); Process... 阅读全文
posted @ 2015-08-13 22:40 rubekid 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 去掉样式backface-visibility:hidden; 阅读全文
posted @ 2015-07-28 18:19 rubekid 阅读(172) 评论(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 阅读(306) 评论(0) 推荐(0) 编辑
摘要: web.xml site index.jsp com.rubekid.listener.OnlineListener contextConfigLocation /W... 阅读全文
posted @ 2015-07-22 11:30 rubekid 阅读(897) 评论(0) 推荐(0) 编辑
摘要: -webkit-backface-visibility: hidden; 阅读全文
posted @ 2015-07-22 09:42 rubekid 阅读(744) 评论(0) 推荐(0) 编辑
摘要: http://api.map.baidu.com/staticimage?center=118.1900130000,24.4967910000&width=360&height=150&zoom=18 阅读全文
posted @ 2015-07-22 09:16 rubekid 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 偶尔会遇到类似复选框的一个属性存在多值情况,若使用ajax提交的化,设置data :{ids:[1,2,3,4]} 提交后,后台无法使用ids获取到数据。 这里可以用到ajax的traditional 参数,把traditional 设置为true就可以。 $.ajax({ ... 阅读全文
posted @ 2015-07-10 19:54 rubekid 阅读(410) 评论(0) 推荐(0) 编辑