![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tips
文章平均质量分 77
tenderliTch
这个作者很懒,什么都没留下…
展开
-
httpcomponents for https without CE
private static class DefaultTrustManager implements X509TrustManager { // concept from http://hc.apache.org/index.html @Override public void checkClientTrusted(X509Certificate[] arg0, String arg转载 2012-03-27 15:58:56 · 570 阅读 · 0 评论 -
tomcat response header outOfBounds
2012-3-16 16:20:55 org.apache.catalina.connector.CoyoteAdapter service 严重: An exception or error occurred in the container during the request processing java.lang.ArrayIndexOutOfBoundsException: 819原创 2012-03-16 16:18:52 · 799 阅读 · 0 评论 -
将数据库blob字段打包成zip供用户下载
首先,hibernate3默认将blob转成了字符串,于是通过DAO可以拿到相应的字符串值.然后用java.util.zip.ZipOutPutStream打包该字符串, 问题在于struts2普通的文件下载中需要提供一个输入流,于是换了个方式 package com.iss.test.action; import java.io.ByteArrayInputStream; import j原创 2012-04-17 00:12:59 · 1000 阅读 · 0 评论 -
office文件转html
http://nopainnogain.iteye.com/blog/819432原创 2012-06-12 22:15:53 · 572 阅读 · 1 评论