上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 66 下一页
摘要: Map map = new HashMap(); map.put("url", "&response_type=code&scope=snsapi_base&state=2#wechat_redirect"); Gson gson = new GsonBu... 阅读全文
posted @ 2015-04-08 11:33 yshy 阅读(1075) 评论(0) 推荐(0) 编辑
摘要: package iotest;import com.google.gson.Gson;import com.google.gson.JsonArray;import com.google.gson.JsonElement;import com.google.gson.JsonObject;impor... 阅读全文
posted @ 2015-04-05 10:58 yshy 阅读(11474) 评论(0) 推荐(0) 编辑
摘要: Oracle数据库端测试环境见:http://www.cnblogs.com/yshyee/p/4392328.htmlpackage com.mw.utils;import java.sql.Connection;import java.sql.SQLException;import java.u... 阅读全文
posted @ 2015-04-04 16:24 yshy 阅读(425) 评论(0) 推荐(0) 编辑
摘要: --创建事务级别的结果临时表create global temporary table tmp_yshy( c1 varchar2(100), c2 varchar2(100))on commit delete rows;--创建事务级别的存储sql语句的临时表create global tempo... 阅读全文
posted @ 2015-04-04 15:54 yshy 阅读(3300) 评论(0) 推荐(0) 编辑
摘要: 1:WebService服务端工程目录如下:需要第三方jar包:gson-2.2.4.jar\javax.xml.bind.jar\commons-lang-2.5.jar源码如下:package com.mw.dao;import com.mw.vo.Nsr;import java.util.Li... 阅读全文
posted @ 2015-04-04 11:42 yshy 阅读(518) 评论(0) 推荐(0) 编辑
摘要: log4j.properties配置文件:log4j.rootLogger=INFO,db#使用log4j扩展支持JNDI数据源log4j.appender.db=com.qdgswx.log4j.ds.JndiDSAppenderlog4j.appender.db.jndiName=wstjndi... 阅读全文
posted @ 2015-04-04 10:01 yshy 阅读(1411) 评论(0) 推荐(0) 编辑
摘要: InputStream is = request.getSession().getServletContext().getResourceAsStream("/WEB-INF/swdjzbg.png"); ByteArrayOutputStream baos = new ByteArr... 阅读全文
posted @ 2015-04-04 09:18 yshy 阅读(5582) 评论(0) 推荐(0) 编辑
摘要: PdfContentByte pcb = pw.getDirectContent(); pcb.beginText(); pcb.setFontAndSize(bfChinese, 12); pcb.setTextMatrix(550... 阅读全文
posted @ 2015-04-04 09:16 yshy 阅读(2860) 评论(0) 推荐(0) 编辑
摘要: /** * 将日期转大写 * 例如:2013-05-13转为 二0一三年五月十三日 * @param date * @return */ public static String getDxDate(String date){ Strin... 阅读全文
posted @ 2015-04-03 08:17 yshy 阅读(593) 评论(0) 推荐(0) 编辑
摘要: PrintWriter out = response.getWriter();out.print(obj)其源码如下:public void print(Object obj) { write(String.valueOf(obj)); }public void print(String s)... 阅读全文
posted @ 2015-04-03 08:13 yshy 阅读(1487) 评论(1) 推荐(1) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 66 下一页