摘要: 在执行webservice的过程中,出现如下异常:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provi... 阅读全文
posted @ 2015-02-26 18:20 Struts-pring 阅读(627) 评论(0) 推荐(0) 编辑
摘要: 首先实现写一个 实现接口SecureProtocolSocketFactory的类。/** *ClassName: bcde *date: 2015年2月26日 下午4:51:01 * *@author limh *@since JDK 1.7 */import java.io.IOExceptio... 阅读全文
posted @ 2015-02-26 17:32 Struts-pring 阅读(732) 评论(0) 推荐(0) 编辑
摘要: 主要是由于页面可能不是通过 request.sendRedirect跳转的,可能通过js location跳转的。所以需要拿跳转后的 地址,重新发送请求。。。如下所示if (status == HttpStatus.SC_MOVED_PERMANENTLY || status == HttpStat... 阅读全文
posted @ 2015-02-26 15:48 Struts-pring 阅读(870) 评论(0) 推荐(0) 编辑