摘要: 一般会在Redis中存放键值对,那么如何存放一个对象呢? 阅读全文
posted @ 2018-04-03 16:08 radiant13 阅读(2342) 评论(0) 推荐(0) 编辑
摘要: public static Map getResJson(String postUrl,String reqJson) throws UnsupportedEncodingException{ //发送请求 HttpClient client =new DefaultHttpClient(); HttpPost post=new H... 阅读全文
posted @ 2018-03-16 10:58 radiant13 阅读(932) 评论(0) 推荐(0) 编辑
摘要: 1 public Map getWechat(String getUrl){ //发送请求 2 HttpClient client =new DefaultHttpClient(); 3 HttpGet get=new HttpGet(getUrl); 4 // 初始化解析json格式的对象 5 JsonPars... 阅读全文
posted @ 2018-03-16 10:03 radiant13 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 转自http://blog.csdn.net/luo201227/article/details/37511137?utm_source=tuicool&utm_medium=referral Quartz 是个开源的作业调度框架,为在 Java 应用程序中进行作业调度提供了简单却强大的机制。Qua 阅读全文
posted @ 2018-03-15 12:42 radiant13 阅读(1140) 评论(0) 推荐(0) 编辑
摘要: 2017-10-25 分析:在页面form中提交enctype="multipart/form-data"的数据时,需要在SpringMVC中解析改格式,所以要在xml中配置文件上传解析器 1.SpringMVC.xml中:加入上传图片的jar包:commons-fielipload-1.2.2.j 阅读全文
posted @ 2017-10-25 22:03 radiant13 阅读(212) 评论(0) 推荐(0) 编辑