上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 66 下一页
摘要: public static String getComparedSBQDate(String yxqq,String starttime){ String str = starttime; SimpleDateFormat sdf = new SimpleDateForm... 阅读全文
posted @ 2015-04-10 15:53 yshy 阅读(463) 评论(0) 推荐(0)
摘要: 在当前域下面新建两个服务器,服务器信息设置:server1:127.0.0.1:7010server2:127.0.0.1:7020第一步:新建服务器(1)进入“服务器”,点击新建:(2)填写服务器名称与监听地址、监听端口号:(3)点击下一步,基本信息如下:(4)以同样的方式新建server2。(5... 阅读全文
posted @ 2015-04-08 20:16 yshy 阅读(529) 评论(0) 推荐(0)
摘要: 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 阅读(1086) 评论(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 阅读(11516) 评论(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 阅读(433) 评论(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 阅读(3314) 评论(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 阅读(532) 评论(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 阅读(1424) 评论(0) 推荐(0)
摘要: InputStream is = request.getSession().getServletContext().getResourceAsStream("/WEB-INF/swdjzbg.png"); ByteArrayOutputStream baos = new ByteArr... 阅读全文
posted @ 2015-04-04 09:18 yshy 阅读(5612) 评论(0) 推荐(0)
摘要: PdfContentByte pcb = pw.getDirectContent(); pcb.beginText(); pcb.setFontAndSize(bfChinese, 12); pcb.setTextMatrix(550... 阅读全文
posted @ 2015-04-04 09:16 yshy 阅读(2898) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 66 下一页