会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
YSHY
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
31
32
33
34
35
36
37
38
39
···
66
下一页
2015年4月10日
Java比较两个日期的大小
摘要: 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)
2015年4月8日
Ubuntu14.04 weblogic11g集群环境测试
摘要: 在当前域下面新建两个服务器,服务器信息设置: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)
Gson 禁止特殊字符转码
摘要: 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)
2015年4月5日
Gson JsonParser的使用
摘要: 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)
2015年4月4日
封装JDBC事务操作,执行存储过程测试
摘要: 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)
Oracle 存储过程,临时表,动态SQL测试
摘要: --创建事务级别的结果临时表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)
基于JDK6的JAX-WX为客户端提供XML与JSON格式数据服务,以及客户端采用AXIS调用案例
摘要: 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支持JNDI数据源
摘要: 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转为byte数组
摘要: InputStream is = request.getSession().getServletContext().getResourceAsStream("/WEB-INF/swdjzbg.png"); ByteArrayOutputStream baos = new ByteArr...
阅读全文
posted @ 2015-04-04 09:18 yshy
阅读(5612)
评论(0)
推荐(0)
Itext 中的文本信息绝对定位
摘要: 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
下一页
公告