上一页 1 2 3 4 5 6 7 8 9 ··· 35 下一页
摘要: 加载properties http://my.oschina.net/u/156096/blog/228979 gradle properties配置 http://www.itxuye.com/Z-Gradle.html 阅读全文
posted @ 2016-04-06 16:45 chuiyuan 阅读(129) 评论(0) 推荐(0) 编辑
摘要: groovy 报 SecurityException: Prohibited package name: java.lang 删除原来java CLASSPATH中的rt.jar就可以了 阅读全文
posted @ 2016-04-06 11:42 chuiyuan 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 参考 http://unix.stackexchange.com/questions/135012/add-vpn-button-is-disabled-in-debian-wheezy-lxde 不要使用pptp-linux 阅读全文
posted @ 2016-04-06 00:05 chuiyuan 阅读(26) 评论(0) 推荐(0) 编辑
摘要: adb安装 adb install -r build/outputs/apk/OnlyOne-sdupsnger-debug-4.2.7-1001.apk adb debug adb logcat -s AndroidRuntime local.properties文件中是android sdk目录 阅读全文
posted @ 2016-04-05 15:34 chuiyuan 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 参考 http://my.oschina.net/lichhao/blog/111362?p=3#comments (文章内容错误,但是评论值得参考。) http://qifuguang.me/2015/09/02/[Java%E5%B9%B6%E5%8F%91%E5%8C%85%E5%AD%A6% 阅读全文
posted @ 2016-03-25 17:14 chuiyuan 阅读(105) 评论(0) 推荐(0) 编辑
摘要: https://github.com/mooosu/spring-mvc-mybatis-sample http://edwin.baculsoft.com/2015/01/a-simple-spring-4-and-mybatis-transaction-example/ http://wiki. 阅读全文
posted @ 2016-03-21 22:08 chuiyuan 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 步骤: 阅读全文
posted @ 2016-03-21 11:40 chuiyuan 阅读(1244) 评论(0) 推荐(0) 编辑
摘要: 方法一 使用jackson-databind直接返回对象。 方法二 使用Gson将对象转换成String再返回,要设置contentType为application/json。 方法三 将对象转换成json,然后直接写入到HttpServletResponse中。 例子如下 JsonUtil如下 阅读全文
posted @ 2016-03-21 11:03 chuiyuan 阅读(415) 评论(0) 推荐(0) 编辑
摘要: REST is an architectual style for designing distributed systems. It is not a standard but a set of constraints, such as being stateless, having a clie 阅读全文
posted @ 2016-03-19 14:42 chuiyuan 阅读(116) 评论(0) 推荐(0) 编辑
摘要: java中的线程池框架为Executors,但是这里我们将自己实现简单的线程池,主要目的是理解它的原理。 线程池主要由两个部分组成: (1)线程数组,用于执行任务。 (2)任务队列。 下面的两个实现都是按照这种思路来做的。 一.简单的线程池,有点问题 package com.chuiyuan.uti 阅读全文
posted @ 2016-02-24 22:40 chuiyuan 阅读(896) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 35 下一页