锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲午夜久久久影院伊人,亚洲午夜AV无码专区在线播放,亚洲成AV人片在WWW色猫咪http://www.tkk7.com/icewee/category/49042.htmlThere is nothing too difficult if you put your heart into it.zh-cnMon, 18 Jan 2016 06:43:27 GMTMon, 18 Jan 2016 06:43:27 GMT60tomcat瀹夎涓烘湇鍔ervice.bat璁劇疆錛屽惎鍔ㄦ湇鍔℃椂鍑洪敊錛屾彁紺衡?..鐗瑰畾浠g爜0鈥?http://www.tkk7.com/icewee/archive/2016/01/18/429098.htmlIceWeeIceWeeMon, 18 Jan 2016 05:43:00 GMThttp://www.tkk7.com/icewee/archive/2016/01/18/429098.htmlhttp://www.tkk7.com/icewee/comments/429098.htmlhttp://www.tkk7.com/icewee/archive/2016/01/18/429098.html#Feedback0http://www.tkk7.com/icewee/comments/commentRss/429098.htmlhttp://www.tkk7.com/icewee/services/trackbacks/429098.html

IceWee 2016-01-18 13:43 鍙戣〃璇勮
]]>
Exception loading sessions from persistent storagehttp://www.tkk7.com/icewee/archive/2012/07/12/382853.htmlIceWeeIceWeeThu, 12 Jul 2012 02:15:00 GMThttp://www.tkk7.com/icewee/archive/2012/07/12/382853.htmlhttp://www.tkk7.com/icewee/comments/382853.htmlhttp://www.tkk7.com/icewee/archive/2012/07/12/382853.html#Feedback0http://www.tkk7.com/icewee/comments/commentRss/382853.htmlhttp://www.tkk7.com/icewee/services/trackbacks/382853.html鍑虹幇浠ヤ笅寮傚父淇℃伅錛屼竴鑸垹闄や笅Tomcat鐨剋ork鐩綍鍗沖彲
涓ラ噸: IOException while loading persisted sessions: java.io.EOFException
java
.io.EOFException
    at java
.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280)
    at java
.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
    at java
.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
    at java
.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
    at org
.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
    at org
.apache.catalina.session.StandardManager.doLoad(StandardManager.java:246)
    at org
.apache.catalina.session.StandardManager.load(StandardManager.java:204)
    at org
.apache.catalina.session.StandardManager.startInternal(StandardManager.java:491)
    at org
.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org
.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5282)
    at org
.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org
.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
    at org
.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
    at org
.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
    at org
.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
    at org
.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
    at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java
.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java
.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java
.lang.Thread.run(Thread.java:662)
2012-7-12 10:08:04 org.apache.catalina.session.StandardManager startInternal
涓ラ噸
: Exception loading sessions from persistent storage
java
.io.EOFException
    at java
.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280)
    at java
.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
    at java
.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
    at java
.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
    at org
.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
    at org
.apache.catalina.session.StandardManager.doLoad(StandardManager.java:246)
    at org
.apache.catalina.session.StandardManager.load(StandardManager.java:204)
    at org
.apache.catalina.session.StandardManager.startInternal(StandardManager.java:491)
    at org
.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org
.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5282)
    at org
.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org
.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
    at org
.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
    at org
.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
    at org
.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
    at org
.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
    at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java
.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java
.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java
.lang.Thread.run(Thread.java:662)



IceWee 2012-07-12 10:15 鍙戣〃璇勮
]]>
CXF+Spring+Tomcat綆鏄庣ず渚?/title><link>http://www.tkk7.com/icewee/archive/2012/07/06/382399.html</link><dc:creator>IceWee</dc:creator><author>IceWee</author><pubDate>Fri, 06 Jul 2012 09:29:00 GMT</pubDate><guid>http://www.tkk7.com/icewee/archive/2012/07/06/382399.html</guid><wfw:comment>http://www.tkk7.com/icewee/comments/382399.html</wfw:comment><comments>http://www.tkk7.com/icewee/archive/2012/07/06/382399.html#Feedback</comments><slash:comments>25</slash:comments><wfw:commentRss>http://www.tkk7.com/icewee/comments/commentRss/382399.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/icewee/services/trackbacks/382399.html</trackback:ping><description><![CDATA[ 澶氱郴緇燂紙寮傛瀯緋葷粺錛夎繘琛屼氦浜掓椂錛屼竴縐嶈壇濂界殑鏂瑰紡渚挎槸璋冪敤Web Service錛屾湰紺轟緥鍩轟簬Apache緇勭粐鐨凜XF錛屼負(fù)浜?jiǎn)鏂逛究钃v瑙佺壒灝嗘湇鍔$鍜屽鎴風(fēng)鍐欏湪鍚屼竴涓伐紼嬩笅錛屽疄闄呴」鐩腑鏄笉鍙兘鐨勶紝浣嗘槸瀹㈡埛绔嵈渚濊禆浜庢湇鍔$鐨刉eb Service鎺ュ彛錛岄偅涔堝彲浠ラ氳繃瀵煎嚭jar鐨勬柟寮忋?br /><br />鐜錛?br />MyEclipse10<br />JDK6<br />Tomcat7<br />CXF2.5<br />Spring3<br /><br />紺轟緥欏圭洰緇撴瀯鍥撅細(xì)<br /><img border="0" alt="" src="http://www.tkk7.com/images/blogjava_net/icewee/cxf/2012-07-06_164811.png" width="340" height="602" /><br /><br />濡備笂鍥炬墍紺猴紝鍏ㄩ儴渚濊禆鐨勭涓夋柟搴撻兘鍦╨ib涓紝涓嬮潰璐村嚭鍏ㄩ儴浠g爜銆?br />IHelloService.java<br /><div style="padding: 4px 5px 4px 4px; border: 1px solid rgb(204, 204, 204); width: 98%; font-size: 13px; word-break: break-all; background-color: rgb(238, 238, 238);"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><span style="color: rgb(0, 0, 255);">package</span><span style="color: rgb(0, 0, 0);"> bing.server;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> javax.jws.WebService;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img id="Codehighlighter1_52_145_Open_Image" onclick="this.style.display='none'; Codehighlighter1_52_145_Open_Text.style.display='none'; Codehighlighter1_52_145_Closed_Image.style.display='inline'; Codehighlighter1_52_145_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none;" id="Codehighlighter1_52_145_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_52_145_Closed_Text.style.display='none'; Codehighlighter1_52_145_Open_Image.style.display='inline'; Codehighlighter1_52_145_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif"></span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_52_145_Closed_Text">/** */</span><span id="Codehighlighter1_52_145_Open_Text"><span style="color: rgb(0, 128, 0);">/**</span><span style="color: rgb(0, 128, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * <p><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * WebService鎺ュ彛<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * </p><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * </span><span style="color: rgb(128, 128, 128);">@author</span><span style="color: rgb(0, 128, 0);"> IceWee<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * @date 2012-7-6<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * </span><span style="color: rgb(128, 128, 128);">@version</span><span style="color: rgb(0, 128, 0);"> 1.0<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" /> </span><span style="color: rgb(0, 128, 0);">*/</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />@WebService<br /><img id="Codehighlighter1_190_237_Open_Image" onclick="this.style.display='none'; Codehighlighter1_190_237_Open_Text.style.display='none'; Codehighlighter1_190_237_Closed_Image.style.display='inline'; Codehighlighter1_190_237_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none;" id="Codehighlighter1_190_237_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_190_237_Closed_Text.style.display='none'; Codehighlighter1_190_237_Open_Image.style.display='inline'; Codehighlighter1_190_237_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif"></span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">interface</span><span style="color: rgb(0, 0, 0);"> IHelloService </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_190_237_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_190_237_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> String sayHello(String username);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" />}</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span></div><br />HelloServiceImpl.java<br /><div style="padding: 4px 5px 4px 4px; border: 1px solid rgb(204, 204, 204); width: 98%; font-size: 13px; word-break: break-all; background-color: rgb(238, 238, 238);"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><span style="color: rgb(0, 0, 255);">package</span><span style="color: rgb(0, 0, 0);"> bing.server;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> javax.jws.WebService;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img id="Codehighlighter1_52_146_Open_Image" onclick="this.style.display='none'; Codehighlighter1_52_146_Open_Text.style.display='none'; Codehighlighter1_52_146_Closed_Image.style.display='inline'; Codehighlighter1_52_146_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none;" id="Codehighlighter1_52_146_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_52_146_Closed_Text.style.display='none'; Codehighlighter1_52_146_Open_Image.style.display='inline'; Codehighlighter1_52_146_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif"></span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_52_146_Closed_Text">/** */</span><span id="Codehighlighter1_52_146_Open_Text"><span style="color: rgb(0, 128, 0);">/**</span><span style="color: rgb(0, 128, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * <p><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * WebService瀹炵幇綾?br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * </p><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * </span><span style="color: rgb(128, 128, 128);">@author</span><span style="color: rgb(0, 128, 0);"> IceWee<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * @date 2012-7-6<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * </span><span style="color: rgb(128, 128, 128);">@version</span><span style="color: rgb(0, 128, 0);"> 1.0<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" /> </span><span style="color: rgb(0, 128, 0);">*/</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />@WebService(endpointInterface </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">bing.server.IHelloService</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">, serviceName </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">HelloService</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">)<br /><img id="Codehighlighter1_294_386_Open_Image" onclick="this.style.display='none'; Codehighlighter1_294_386_Open_Text.style.display='none'; Codehighlighter1_294_386_Closed_Image.style.display='inline'; Codehighlighter1_294_386_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none;" id="Codehighlighter1_294_386_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_294_386_Closed_Text.style.display='none'; Codehighlighter1_294_386_Open_Image.style.display='inline'; Codehighlighter1_294_386_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif"></span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);"> HelloServiceImpl </span><span style="color: rgb(0, 0, 255);">implements</span><span style="color: rgb(0, 0, 0);"> IHelloService </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_294_386_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_294_386_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    @Override<br /><img id="Codehighlighter1_349_383_Open_Image" onclick="this.style.display='none'; Codehighlighter1_349_383_Open_Text.style.display='none'; Codehighlighter1_349_383_Closed_Image.style.display='inline'; Codehighlighter1_349_383_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_349_383_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_349_383_Closed_Text.style.display='none'; Codehighlighter1_349_383_Open_Image.style.display='inline'; Codehighlighter1_349_383_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">    </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> String sayHello(String username) </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_349_383_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_349_383_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />        </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">hello, </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);"> username;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />    }</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" />}</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span></div><br />HelloServiceClient.java<br /><span id="Codehighlighter1_294_386_Open_Text"><span style="color: rgb(0, 0, 0);"><div style="padding: 4px 5px 4px 4px; border: 1px solid rgb(204, 204, 204); width: 98%; font-size: 13px; word-break: break-all; background-color: rgb(238, 238, 238);"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><span style="color: rgb(0, 0, 255);">package</span><span style="color: rgb(0, 0, 0);"> bing.client;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> org.springframework.context.ApplicationContext;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> org.springframework.context.support.ClassPathXmlApplicationContext;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> bing.server.IHelloService;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img id="Codehighlighter1_188_286_Open_Image" onclick="this.style.display='none'; Codehighlighter1_188_286_Open_Text.style.display='none'; Codehighlighter1_188_286_Closed_Image.style.display='inline'; Codehighlighter1_188_286_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none;" id="Codehighlighter1_188_286_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_188_286_Closed_Text.style.display='none'; Codehighlighter1_188_286_Open_Image.style.display='inline'; Codehighlighter1_188_286_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif"></span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_188_286_Closed_Text">/** */</span><span id="Codehighlighter1_188_286_Open_Text"><span style="color: rgb(0, 128, 0);">/**</span><span style="color: rgb(0, 128, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * <p><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * WebService璋冪敤鏂?瀹㈡埛绔?br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * </p><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * </span><span style="color: rgb(128, 128, 128);">@author</span><span style="color: rgb(0, 128, 0);"> IceWee<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * @date 2012-7-6<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /> * </span><span style="color: rgb(128, 128, 128);">@version</span><span style="color: rgb(0, 128, 0);"> 1.0<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" /> </span><span style="color: rgb(0, 128, 0);">*/</span></span><span style="color: rgb(0, 0, 0);"><br /><img id="Codehighlighter1_320_627_Open_Image" onclick="this.style.display='none'; Codehighlighter1_320_627_Open_Text.style.display='none'; Codehighlighter1_320_627_Closed_Image.style.display='inline'; Codehighlighter1_320_627_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none;" id="Codehighlighter1_320_627_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_320_627_Closed_Text.style.display='none'; Codehighlighter1_320_627_Open_Image.style.display='inline'; Codehighlighter1_320_627_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif"></span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);"> HelloServiceClient </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_320_627_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_320_627_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /><br /><img id="Codehighlighter1_363_624_Open_Image" onclick="this.style.display='none'; Codehighlighter1_363_624_Open_Text.style.display='none'; Codehighlighter1_363_624_Closed_Image.style.display='inline'; Codehighlighter1_363_624_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_363_624_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_363_624_Closed_Text.style.display='none'; Codehighlighter1_363_624_Open_Image.style.display='inline'; Codehighlighter1_363_624_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">    </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);"> main(String[] args) </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_363_624_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_363_624_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />        ApplicationContext context </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> ClassPathXmlApplicationContext(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">applicationContext-client.xml</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />        IHelloService helloService </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> (IHelloService) context.getBean(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">client</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />        String response </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> helloService.sayHello(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">Peter</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />        System.out.println(response);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />    }</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" />}</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span></div></span></span><br />applicationContext-server.xml<br /><div style="padding: 4px 5px 4px 4px; border: 1px solid rgb(204, 204, 204); width: 98%; font-size: 13px; word-break: break-all; background-color: rgb(238, 238, 238);"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><span style="color: rgb(0, 0, 255);"><?</span><span style="color: rgb(255, 0, 255);">xml version="1.0" encoding="UTF-8"</span><span style="color: rgb(0, 0, 255);">?></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">beans </span><span style="color: rgb(255, 0, 0);">xmlns</span><span style="color: rgb(0, 0, 255);">="http://www.springframework.org/schema/beans"</span><span style="color: rgb(255, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    xmlns:xsi</span><span style="color: rgb(0, 0, 255);">="http://www.w3.org/2001/XMLSchema-instance"</span><span style="color: rgb(255, 0, 0);"> <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    xmlns:jaxws</span><span style="color: rgb(0, 0, 255);">="http://cxf.apache.org/jaxws"</span><span style="color: rgb(255, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    xsi:schemaLocation</span><span style="color: rgb(0, 0, 255);">="http://www.springframework.org/schema/beans<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />                       http://www.springframework.org/schema/beans/spring-beans.xsd<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />                       http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 128, 0);"><!--</span><span style="color: rgb(0, 128, 0);"> <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />        ***娉ㄦ剰*** <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />        鎵嬪姩娣誨姞鐨勫唴瀹癸細(xì)<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />        xmlns:jaxws="http://cxf.apache.org/jaxws"<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />        http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />     </span><span style="color: rgb(0, 128, 0);">--></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">import </span><span style="color: rgb(255, 0, 0);">resource</span><span style="color: rgb(0, 0, 255);">="classpath:META-INF/cxf/cxf.xml"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">/></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">import </span><span style="color: rgb(255, 0, 0);">resource</span><span style="color: rgb(0, 0, 255);">="classpath:META-INF/cxf/cxf-extension-soap.xml"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">/></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">import </span><span style="color: rgb(255, 0, 0);">resource</span><span style="color: rgb(0, 0, 255);">="classpath:META-INF/cxf/cxf-servlet.xml"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">/></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">jaxws:endpoint </span><span style="color: rgb(255, 0, 0);">id</span><span style="color: rgb(0, 0, 255);">="helloService"</span><span style="color: rgb(255, 0, 0);"> implementor</span><span style="color: rgb(0, 0, 255);">="bing.server.HelloServiceImpl"</span><span style="color: rgb(255, 0, 0);"> address</span><span style="color: rgb(0, 0, 255);">="/helloService"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">/></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />        <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">beans</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span></div><br />applicationContext-client.xml<br /><div style="padding: 4px 5px 4px 4px; border: 1px solid rgb(204, 204, 204); width: 98%; font-size: 13px; word-break: break-all; background-color: rgb(238, 238, 238);"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><span style="color: rgb(0, 0, 255);"><?</span><span style="color: rgb(255, 0, 255);">xml version="1.0" encoding="UTF-8"</span><span style="color: rgb(0, 0, 255);">?></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">beans </span><span style="color: rgb(255, 0, 0);">xmlns</span><span style="color: rgb(0, 0, 255);">="http://www.springframework.org/schema/beans"</span><span style="color: rgb(255, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    xmlns:xsi</span><span style="color: rgb(0, 0, 255);">="http://www.w3.org/2001/XMLSchema-instance"</span><span style="color: rgb(255, 0, 0);"> <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    xmlns:jaxws</span><span style="color: rgb(0, 0, 255);">="http://cxf.apache.org/jaxws"</span><span style="color: rgb(255, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    xsi:schemaLocation</span><span style="color: rgb(0, 0, 255);">="http://www.springframework.org/schema/beans<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />                       http://www.springframework.org/schema/beans/spring-beans.xsd<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />                       http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 128, 0);"><!--</span><span style="color: rgb(0, 128, 0);"> <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />        ***娉ㄦ剰*** <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />        鎵嬪姩娣誨姞鐨勫唴瀹癸細(xì)<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />        xmlns:jaxws="http://cxf.apache.org/jaxws"<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />        http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />     </span><span style="color: rgb(0, 128, 0);">--></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">import </span><span style="color: rgb(255, 0, 0);">resource</span><span style="color: rgb(0, 0, 255);">="classpath:META-INF/cxf/cxf.xml"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">/></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">import </span><span style="color: rgb(255, 0, 0);">resource</span><span style="color: rgb(0, 0, 255);">="classpath:META-INF/cxf/cxf-extension-soap.xml"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">/></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">import </span><span style="color: rgb(255, 0, 0);">resource</span><span style="color: rgb(0, 0, 255);">="classpath:META-INF/cxf/cxf-servlet.xml"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">/></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">bean </span><span style="color: rgb(255, 0, 0);">id</span><span style="color: rgb(0, 0, 255);">="client"</span><span style="color: rgb(255, 0, 0);"> class</span><span style="color: rgb(0, 0, 255);">="bing.server.IHelloService"</span><span style="color: rgb(255, 0, 0);"> factory-bean</span><span style="color: rgb(0, 0, 255);">="clientFactory"</span><span style="color: rgb(255, 0, 0);"> factory-method</span><span style="color: rgb(0, 0, 255);">="create"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">/></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">bean </span><span style="color: rgb(255, 0, 0);">id</span><span style="color: rgb(0, 0, 255);">="clientFactory"</span><span style="color: rgb(255, 0, 0);"> class</span><span style="color: rgb(0, 0, 255);">="org.apache.cxf.jaxws.JaxWsProxyFactoryBean"</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />        </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">property </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="serviceClass"</span><span style="color: rgb(255, 0, 0);"> value</span><span style="color: rgb(0, 0, 255);">="bing.server.IHelloService"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">/></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />        </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">property </span><span style="color: rgb(255, 0, 0);">name</span><span style="color: rgb(0, 0, 255);">="address"</span><span style="color: rgb(255, 0, 0);"> value</span><span style="color: rgb(0, 0, 255);">="http://localhost:8080/CXFDemo/ws/helloService"</span><span style="color: rgb(255, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">/></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">bean</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">beans</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span></div><br />web.xml<br /><div style="padding: 4px 5px 4px 4px; border: 1px solid rgb(204, 204, 204); width: 98%; font-size: 13px; word-break: break-all; background-color: rgb(238, 238, 238);"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><span style="color: rgb(0, 0, 255);"><?</span><span style="color: rgb(255, 0, 255);">xml version="1.0" encoding="UTF-8"</span><span style="color: rgb(0, 0, 255);">?></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">web-app </span><span style="color: rgb(255, 0, 0);">version</span><span style="color: rgb(0, 0, 255);">="3.0"</span><span style="color: rgb(255, 0, 0);"> <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    xmlns</span><span style="color: rgb(0, 0, 255);">="http://java.sun.com/xml/ns/javaee"</span><span style="color: rgb(255, 0, 0);"> <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    xmlns:xsi</span><span style="color: rgb(0, 0, 255);">="http://www.w3.org/2001/XMLSchema-instance"</span><span style="color: rgb(255, 0, 0);"> <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    xsi:schemaLocation</span><span style="color: rgb(0, 0, 255);">="http://java.sun.com/xml/ns/javaee <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">display-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">CXFDemo</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">display-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">context-param</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />      </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">param-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">contextConfigLocation</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">param-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />      </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">param-value</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">classpath:applicationContext-server.xml</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">param-value</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">context-param</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /> <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">listener</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">listener-class</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">org.springframework.web.context.ContextLoaderListener</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">listener-class</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">listener</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">servlet</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">CXFServlet</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">display-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">CXFServlet</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">display-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">servlet-class</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">org.apache.cxf.transport.servlet.CXFServlet</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">servlet-class</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">load-on-startup</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">load-on-startup</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">servlet</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">servlet-mapping</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">CXFServlet</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">servlet-name</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">url-pattern</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">/ws/*</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">url-pattern</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">servlet-mapping</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">welcome-file-list</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);"><</span><span style="color: rgb(128, 0, 0);">welcome-file</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);">index.jsp</span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">welcome-file</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" />  </span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">welcome-file-list</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);"></</span><span style="color: rgb(128, 0, 0);">web-app</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span></div><br />鎵鏈夐」鐩兘宸查厤緗畬鎴愶紝鍙互鍙戝竷鍒癟omcat浜?jiǎn)锛屽湪娴忚鍣ㄤ腑杈撳叆锛?xì)<a href="http://localhost:8080/CXFDemo/ws">http://localhost:8080/CXFDemo/ws</a>錛岃繑鍥炲鍥撅細(xì)<br /><img border="0" alt="" src="http://www.tkk7.com/images/blogjava_net/icewee/cxf/2012-07-06_170337.png" width="735" height="427" /><br /><br />浠庝笂鍥句腑鍙互鐪嬪埌鎴戜滑瀵瑰鍙戝竷鐨刉ebService鎺ュ彛錛岀偣鍑昏摑鑹茶秴閾炬帴錛岃繑鍥炲鍥撅細(xì)<br /><img border="0" alt="" src="http://www.tkk7.com/images/blogjava_net/icewee/cxf/2012-07-06_170411.png" /><br />鍒版錛岃瘉鏄庢垜浠殑Web Service宸茬粡鍙戝竷鎴愬姛錛屽彲浠ヨ繘琛岃皟鐢ㄦ祴璇曚簡(jiǎn)銆傝繍琛孒elloServiceClient錛岃繑鍥炲鍥撅細(xì)<br /><img border="0" alt="" src="http://www.tkk7.com/images/blogjava_net/icewee/cxf/2012-07-06_170754.png" /><br /><br />鍏ㄦ枃瀹岋紒<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><img src ="http://www.tkk7.com/icewee/aggbug/382399.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/icewee/" target="_blank">IceWee</a> 2012-07-06 17:29 <a href="http://www.tkk7.com/icewee/archive/2012/07/06/382399.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Java Tomcat SSL 鏈嶅姟绔?瀹㈡埛绔弻鍚戣璇併伄Apache HttpClient錛堜簩錛?/title><link>http://www.tkk7.com/icewee/archive/2012/06/05/379983.html</link><dc:creator>IceWee</dc:creator><author>IceWee</author><pubDate>Tue, 05 Jun 2012 01:32:00 GMT</pubDate><guid>http://www.tkk7.com/icewee/archive/2012/06/05/379983.html</guid><wfw:comment>http://www.tkk7.com/icewee/comments/379983.html</wfw:comment><comments>http://www.tkk7.com/icewee/archive/2012/06/05/379983.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/icewee/comments/commentRss/379983.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/icewee/services/trackbacks/379983.html</trackback:ping><description><![CDATA[ 鏈紨紺轟緥紼嬫槸緇?a id="viewpost1_TitleUrl" class="singleposttitle" href="http://www.tkk7.com/icewee/archive/2012/06/04/379947.html"><font color="#223355">Java Tomcat SSL 鏈嶅姟绔?瀹㈡埛绔弻鍚戣璇侊紙涓錛?/font></a>錛屽瘑閽ュ簱鍙瘉涔︾殑鐢熸垚鑴氭湰涓嶅啀閲嶅榛忚創(chuàng)錛屼粎浠呮槸鐢ㄧ▼搴忔潵浠f浛嫻忚鍣ㄨ闂湇鍔$銆?br />渚嬬▼涓嬌鐢ㄥ埌浜?jiǎn)Apache HttpClient搴擄紝鐗堟湰涓?.1.3<br />鍏ㄩ儴渚濊禆搴擄細(xì)<br />commons-logging-1.1.1.jar<br />httpclient-4.1.3.jar<br />httpcore-4.1.4.jar<br />httpmime-4.1.3.jar(涓婁紶鏂囦歡浣跨敤)<br /><br />鍦紙涓錛変腑鐨勭▼搴忓寘涓垱寤轟竴涓鎴風(fēng)綾伙細(xì)HttpsClient<br />HttpsClient.java<br /><div style="padding: 4px 5px 4px 4px; border: 1px solid rgb(204, 204, 204); width: 98%; font-size: 13px; word-break: break-all; background-color: rgb(238, 238, 238);"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><span style="color: rgb(0, 0, 255);">package</span><span style="color: rgb(0, 0, 0);"> com.icesoft.client;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> java.io.BufferedReader;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> java.io.File;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> java.io.FileInputStream;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> java.io.InputStream;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> java.io.InputStreamReader;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> java.security.KeyStore;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> org.apache.http.HttpEntity;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> org.apache.http.HttpResponse;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> org.apache.http.client.HttpClient;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> org.apache.http.client.methods.HttpGet;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> org.apache.http.conn.scheme.Scheme;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> org.apache.http.conn.ssl.SSLSocketFactory;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> org.apache.http.impl.client.DefaultHttpClient;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> org.apache.http.util.EntityUtils;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /><br /><img id="Codehighlighter1_582_3211_Open_Image" onclick="this.style.display='none'; Codehighlighter1_582_3211_Open_Text.style.display='none'; Codehighlighter1_582_3211_Closed_Image.style.display='inline'; Codehighlighter1_582_3211_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none;" id="Codehighlighter1_582_3211_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_582_3211_Closed_Text.style.display='none'; Codehighlighter1_582_3211_Open_Image.style.display='inline'; Codehighlighter1_582_3211_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedBlock.gif"></span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);"> HttpsClient </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_582_3211_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_582_3211_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    <br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);"> String KEY_STORE_TYPE_JKS </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">jks</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);"> String KEY_STORE_TYPE_P12 </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">PKCS12</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);"> String SCHEME_HTTPS </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">https</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> HTTPS_PORT </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">8443</span><span style="color: rgb(0, 0, 0);">;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);"> String HTTPS_URL </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">https://127.0.0.1:8443/HttpClientSSL/sslServlet</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);"> String KEY_STORE_CLIENT_PATH </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">E:/ssl/client.p12</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);"> String KEY_STORE_TRUST_PATH </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">E:/ssl/client.truststore</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);"> String KEY_STORE_PASSWORD </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">123456</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    </span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">final</span><span style="color: rgb(0, 0, 0);"> String KEY_STORE_TRUST_PASSWORD </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">123456</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /><br /><img id="Codehighlighter1_1231_1243_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1231_1243_Open_Text.style.display='none'; Codehighlighter1_1231_1243_Closed_Image.style.display='inline'; Codehighlighter1_1231_1243_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_1231_1243_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1231_1243_Closed_Text.style.display='none'; Codehighlighter1_1231_1243_Open_Image.style.display='inline'; Codehighlighter1_1231_1243_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">    </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);"> main(String[] args) </span><span style="color: rgb(0, 0, 255);">throws</span><span style="color: rgb(0, 0, 0);"> Exception </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_1231_1243_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1231_1243_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />        ssl();<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />    }</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />    <br /><img id="Codehighlighter1_1291_3208_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1291_3208_Open_Text.style.display='none'; Codehighlighter1_1291_3208_Closed_Image.style.display='inline'; Codehighlighter1_1291_3208_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_1291_3208_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1291_3208_Closed_Text.style.display='none'; Codehighlighter1_1291_3208_Open_Image.style.display='inline'; Codehighlighter1_1291_3208_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">    </span><span style="color: rgb(0, 0, 255);">private</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);"> ssl() </span><span style="color: rgb(0, 0, 255);">throws</span><span style="color: rgb(0, 0, 0);"> Exception </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_1291_3208_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1291_3208_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />        HttpClient httpClient </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> DefaultHttpClient();<br /><img id="Codehighlighter1_1356_3130_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1356_3130_Open_Text.style.display='none'; Codehighlighter1_1356_3130_Closed_Image.style.display='inline'; Codehighlighter1_1356_3130_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_1356_3130_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1356_3130_Closed_Text.style.display='none'; Codehighlighter1_1356_3130_Open_Image.style.display='inline'; Codehighlighter1_1356_3130_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">        </span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);"> </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_1356_3130_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1356_3130_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            KeyStore keyStore  </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> KeyStore.getInstance(KEY_STORE_TYPE_P12);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            KeyStore trustStore  </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> KeyStore.getInstance(KEY_STORE_TYPE_JKS);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            InputStream ksIn </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> FileInputStream(KEY_STORE_CLIENT_PATH);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            InputStream tsIn </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> FileInputStream(</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> File(KEY_STORE_TRUST_PATH));<br /><img id="Codehighlighter1_1682_1843_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1682_1843_Open_Text.style.display='none'; Codehighlighter1_1682_1843_Closed_Image.style.display='inline'; Codehighlighter1_1682_1843_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_1682_1843_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1682_1843_Closed_Text.style.display='none'; Codehighlighter1_1682_1843_Open_Image.style.display='inline'; Codehighlighter1_1682_1843_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">            </span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);"> </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_1682_1843_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1682_1843_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />                keyStore.load(ksIn, KEY_STORE_PASSWORD.toCharArray());<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />                trustStore.load(tsIn, KEY_STORE_TRUST_PASSWORD.toCharArray());<br /><img id="Codehighlighter1_1853_1996_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1853_1996_Open_Text.style.display='none'; Codehighlighter1_1853_1996_Closed_Image.style.display='inline'; Codehighlighter1_1853_1996_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_1853_1996_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1853_1996_Closed_Text.style.display='none'; Codehighlighter1_1853_1996_Open_Image.style.display='inline'; Codehighlighter1_1853_1996_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">            }</span></span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">finally</span><span style="color: rgb(0, 0, 0);"> </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_1853_1996_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1853_1996_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img id="Codehighlighter1_1872_1888_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1872_1888_Open_Text.style.display='none'; Codehighlighter1_1872_1888_Closed_Image.style.display='inline'; Codehighlighter1_1872_1888_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_1872_1888_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1872_1888_Closed_Text.style.display='none'; Codehighlighter1_1872_1888_Open_Image.style.display='inline'; Codehighlighter1_1872_1888_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">                </span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);"> </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_1872_1888_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1872_1888_Open_Text"><span style="color: rgb(0, 0, 0);">{ ksIn.close(); }</span></span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">catch</span><span style="color: rgb(0, 0, 0);"> (Exception ignore) </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_1915_1916_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1915_1916_Open_Text"><span style="color: rgb(0, 0, 0);">{}</span></span><span style="color: rgb(0, 0, 0);"><br /><img id="Codehighlighter1_1938_1954_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1938_1954_Open_Text.style.display='none'; Codehighlighter1_1938_1954_Closed_Image.style.display='inline'; Codehighlighter1_1938_1954_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_1938_1954_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1938_1954_Closed_Text.style.display='none'; Codehighlighter1_1938_1954_Open_Image.style.display='inline'; Codehighlighter1_1938_1954_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">                </span><span style="color: rgb(0, 0, 255);">try</span><span style="color: rgb(0, 0, 0);"> </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_1938_1954_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1938_1954_Open_Text"><span style="color: rgb(0, 0, 0);">{ tsIn.close(); }</span></span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">catch</span><span style="color: rgb(0, 0, 0);"> (Exception ignore) </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_1981_1982_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1981_1982_Open_Text"><span style="color: rgb(0, 0, 0);">{}</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />            }</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            SSLSocketFactory socketFactory </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> SSLSocketFactory(keyStore, KEY_STORE_PASSWORD, trustStore);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            Scheme sch </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> Scheme(SCHEME_HTTPS, HTTPS_PORT, socketFactory);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            httpClient.getConnectionManager().getSchemeRegistry().register(sch);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            HttpGet httpget </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> HttpGet(HTTPS_URL);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            System.out.println(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">executing request</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);"> httpget.getRequestLine());<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            HttpResponse response </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> httpClient.execute(httpget);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            HttpEntity entity </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> response.getEntity();<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            System.out.println(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">----------------------------------------</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            System.out.println(response.getStatusLine());<br /><img id="Codehighlighter1_2685_3079_Open_Image" onclick="this.style.display='none'; Codehighlighter1_2685_3079_Open_Text.style.display='none'; Codehighlighter1_2685_3079_Closed_Image.style.display='inline'; Codehighlighter1_2685_3079_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_2685_3079_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_2685_3079_Closed_Text.style.display='none'; Codehighlighter1_2685_3079_Open_Image.style.display='inline'; Codehighlighter1_2685_3079_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">            </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);"> (entity </span><span style="color: rgb(0, 0, 0);">!=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">) </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_2685_3079_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_2685_3079_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />                System.out.println(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">Response content length: </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">+</span><span style="color: rgb(0, 0, 0);"> entity.getContentLength());<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />                BufferedReader bufferedReader </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> BufferedReader(</span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> InputStreamReader(entity.getContent()));<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />                String text;<br /><img id="Codehighlighter1_2988_3025_Open_Image" onclick="this.style.display='none'; Codehighlighter1_2988_3025_Open_Text.style.display='none'; Codehighlighter1_2988_3025_Closed_Image.style.display='inline'; Codehighlighter1_2988_3025_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_2988_3025_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_2988_3025_Closed_Text.style.display='none'; Codehighlighter1_2988_3025_Open_Image.style.display='inline'; Codehighlighter1_2988_3025_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">                </span><span style="color: rgb(0, 0, 255);">while</span><span style="color: rgb(0, 0, 0);"> ((text </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> bufferedReader.readLine()) </span><span style="color: rgb(0, 0, 0);">!=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">) </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_2988_3025_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_2988_3025_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />                    System.out.println(text);<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />                }</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />                bufferedReader.close();<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />            }</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            EntityUtils.consume(entity);<br /><img id="Codehighlighter1_3140_3205_Open_Image" onclick="this.style.display='none'; Codehighlighter1_3140_3205_Open_Text.style.display='none'; Codehighlighter1_3140_3205_Closed_Image.style.display='inline'; Codehighlighter1_3140_3205_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none;" id="Codehighlighter1_3140_3205_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_3140_3205_Closed_Text.style.display='none'; Codehighlighter1_3140_3205_Open_Image.style.display='inline'; Codehighlighter1_3140_3205_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ContractedSubBlock.gif">        }</span></span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">finally</span><span style="color: rgb(0, 0, 0);"> </span><span style="border: 1px solid rgb(128, 128, 128); display: none; background-color: rgb(255, 255, 255);" id="Codehighlighter1_3140_3205_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_3140_3205_Open_Text"><span style="color: rgb(0, 0, 0);">{<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" />            httpClient.getConnectionManager().shutdown();<br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />        }</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />    }</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/InBlock.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" />}</span></span><span style="color: rgb(0, 0, 0);"><br /><img align="top" src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" alt="" /></span></div><br /><br />鍚姩Tomcat錛岃繍琛孒ttpsClient錛屾帶鍒跺彴榪斿洖錛?br /><img border="0" alt="" src="http://www.tkk7.com/images/blogjava_net/icewee/ssl/30.png" width="750" height="650" /><br /><br />OK錛屽拰浣跨敤嫻忚鍣ㄨ闂緱鍒扮殑緇撴灉涓妯′竴鏍鳳紒<br /><br />鍏ㄦ枃瀹岋紒<br /> <img src ="http://www.tkk7.com/icewee/aggbug/379983.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/icewee/" target="_blank">IceWee</a> 2012-06-05 09:32 <a href="http://www.tkk7.com/icewee/archive/2012/06/05/379983.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Java Tomcat SSL 鏈嶅姟绔?瀹㈡埛绔弻鍚戣璇侊紙涓錛?/title><link>http://www.tkk7.com/icewee/archive/2012/06/04/379947.html</link><dc:creator>IceWee</dc:creator><author>IceWee</author><pubDate>Mon, 04 Jun 2012 09:36:00 GMT</pubDate><guid>http://www.tkk7.com/icewee/archive/2012/06/04/379947.html</guid><wfw:comment>http://www.tkk7.com/icewee/comments/379947.html</wfw:comment><comments>http://www.tkk7.com/icewee/archive/2012/06/04/379947.html#Feedback</comments><slash:comments>20</slash:comments><wfw:commentRss>http://www.tkk7.com/icewee/comments/commentRss/379947.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/icewee/services/trackbacks/379947.html</trackback:ping><description><![CDATA[     鎽樿: SSL——Secure Sockets Layer鍙屽悜璁よ瘉(涓漢鐞嗚В)錛氬鎴風(fēng)璁よ瘉錛氬鎴風(fēng)閫氳繃嫻忚鍣ㄨ闂煇涓緗戠珯鏃訛紝濡傛灉璇ョ綉绔欎負(fù)HTTPS緗戠珯錛屾祻瑙堝櫒浼?xì)鑷姩妫嫻嬬郴緇熶腑鏄惁瀛樺湪璇ョ綉绔欑殑淇′換璇佷功錛屽鏋滄病鏈変俊浠昏瘉涔︼紝嫻忚鍣ㄤ竴鑸細(xì)鎷掔粷璁塊棶錛孖E浼?xì)鏈変竴涓戶緇闂殑閾炬帴錛屼絾鍦板潃鏍忔槸綰㈣壊錛岀粰浜堢敤鎴瘋紺轟綔鐢紝鍗沖鎴風(fēng)楠岃瘉鏈嶅姟绔茍涓嶆槸寮哄埗鎬х殑錛屽彲浠ユ病鏈夋湇鍔$鐨勪俊浠昏瘉涔︼紝褰撶劧鏄惁緇х畫璁塊棶瀹屽叏鍙?..  <a href='http://www.tkk7.com/icewee/archive/2012/06/04/379947.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/icewee/aggbug/379947.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/icewee/" target="_blank">IceWee</a> 2012-06-04 17:36 <a href="http://www.tkk7.com/icewee/archive/2012/06/04/379947.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Tomcat5.5閰嶇疆-澶氬煙鍚嶇粦瀹氬拰铏氭嫙鐩綍http://www.tkk7.com/icewee/archive/2011/04/16/353230.htmlIceWeeIceWeeSat, 16 Apr 2011 05:12:00 GMThttp://www.tkk7.com/icewee/archive/2011/04/16/353230.htmlhttp://www.tkk7.com/icewee/comments/353230.htmlhttp://www.tkk7.com/icewee/archive/2011/04/16/353230.html#Feedback0http://www.tkk7.com/icewee/comments/commentRss/353230.htmlhttp://www.tkk7.com/icewee/services/trackbacks/353230.htmltomcat閲囩敤榛樿瀹夎,瑕佹兂tamcat鐩存帴緇戝畾澶氫釜鍩熷悕,榪欓噷鎴戜滑闇瑕佷慨鏀歸厤緗枃浠?C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml

server.xml 鐨勪慨鏀規(guī)柟寮忓涓?

錛堜竴錛夊鍩熷悕緇戝畾

1.濡傛灉浣犺緇戝畾緗戠珯,棣栧厛鏄鎶妕omcat鐨勯粯璁よ闂鍙?080,淇敼鎴?0

鍘熷:

<Connector port="8080" maxHttpHeaderSize="8192" maxThreads="150"
    minSpareThreads
="25" maxSpareThreads="75" enableLookups="false"
    redirectPort
="8443" acceptCount="100" connectionTimeout="20000"
    disableUploadTimeout
="true" />

 

淇敼鍚?

<Connector port="80" maxHttpHeaderSize="8192" maxThreads="150"
    minSpareThreads
="25" maxSpareThreads="75" enableLookups="false"
    redirectPort
="8443" acceptCount="100" connectionTimeout="20000"
    disableUploadTimeout
="true" />
 

鍏跺疄榪欓噷灝辨槸鎶妏ort:8080,淇敼鎴恜ort:80灝卞彲浠ヤ簡(jiǎn),鍏朵粬鐨勫弬鏁頒笉鍙?/span>


2.鎺ヤ笅鏉ュ氨鏄噸鐐逛簡(jiǎn)鍝堝搱...
鍘?/span>濮?

<Engine name="Catalina" defaultHost="localhost">
    
<Host name="localhost" appBase="webapps" unpackWARs="true"
        autoDeploy
="true" xmlValidation="false" xmlNamespaceAware="false" />
</Engine>


褰撶劧榪欓噷鎴戞妸娉ㄩ噴浠g爜緇熺粺鍒犻櫎鎺変簡(jiǎn),鐪佺殑紕嶇溂

淇敼鍚?

<Engine name="Catalina" defaultHost=www.abc.com>
    
<Host name="www.abc.com" appBase== " abcapps " unpackWARs="true"
        autoDeploy
="true" xmlValidation="false" xmlNamespaceAware="false"    
        <Host name
=www.cba.com appBase== " D: \ cba " unpackWARs="true"
            autoDeploy
="true" xmlValidation="false" xmlNamespaceAware="false" />
        
<Host name="localhost" appBase="webapps" unpackWARs="true"
            autoDeploy
="true" xmlValidation="false" xmlNamespaceAware="false" />
</Engine>
 

榪欓噷瑙i噴涓涓嬩笂闈㈢殑閰嶇疆
Engine 鐨?dafaultHost :琛ㄧず璁塊棶璇omcat榛樿榪涘叆鐨勪富鏈?娉ㄦ剰涓瀹氫笉鑳芥槸localhost,涓嶇劧鍒漢閫氳繃浣犵殑ip璁塊棶,灝變細(xì)榛樿榪涘叆tomcat鐨勭鐞嗙晫闈?

Host 鐨?name:琛ㄧず璇ヤ富鏈虹粦瀹氱殑鍩熷悕,濡傛灉緇戝畾localhost鍒欏彲浠ラ氳繃鍦ㄦ祻瑙堝櫒涓緭鍏ocalhost璁塊棶璇ost.

Host鐨?appBase:琛ㄧず璇ヤ富鏈虹粦瀹氱殑鏂囦歡瀛樻斁璺緞,鍙互浣跨敤鐩稿璺緞鎴栫粷瀵硅礬寰?

鎸夌収涓婇潰鐨勯厤緗?
1.濡傛灉鎴戝湪嫻忚鍣ㄤ腑杈撳叆http://localhost 鍒欒闂?C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT 涓嬬殑緗戠珯
2.濡傛灉杈撳叆http://www.abc.com 鍒欒闂?C:\Program Files\Apache Software Foundation\Tomcat 5.5\abcapps\ROOT 涓嬬殑緗戠珯
3.濡傛灉杈撳叆http://www.cba.com 鍒欒闂?D:\cba\ROOT 涓嬬殑緗戠珯.

娉ㄦ剰榪欓噷鏈変竴涓猂OOT鐩綍闇瑕佸垱寤?鎴戜滑鍙鎶婄綉绔欐斁鍒扮浉搴旂殑ROOT鐩綍鍚戜笅闈?鍗沖彲閫氳繃鐩稿簲鍩熷悕璁塊棶浜?

榪欓噷闈㈢殑鍙傛暟榪樻湁寰堝,鎴戜篃涓嶆槸寰堟竻妤?涓嶈繃榪欐牱鍋氱‘瀹炲彲浠ュ疄鐜板鍩熷悕緇戝畾鍝堝搱.鑰屼笖緗戠珯欏甸潰淇敼浜?jiǎn)鍙鐩存帴瑕嗙洊灏卞彲浠ヤ?tomcat鍙互鑷姩鏇存柊綾誨拰欏甸潰,褰撶劧濡傛灉淇敼浜?jiǎn)web.xml鎴杔ib,鍒欓渶瑕侀噸鍚痶omcat鎵嶅彲浠?


錛堜簩錛?/span>铏氭嫙鐩綍


<Host name="localhost" appBase="webapps" unpackWARs="true"
    autoDeploy
="true" xmlValidation="false" xmlNamespaceAware="false">
    
<Context path="/cqq" docBase="f:\java\cqqapp" debug="0"
        reloadable
="true" crossContext="true">
</Host>


鍏朵腑錛孒ost鏍囪鏄敤鏉ラ厤緗櫄鎷熶富鏈虹殑錛屽氨鏄彲浠ュ涓煙鍚嶆寚鍚戜竴涓猼omcat錛屾牸寮忓彧瑕佸弬鑰冮粯璁ょ殑灝?鍙互浜?jiǎn)銆?

<context>鏄疕ost鏍囪鐨勫瓙鍏冪礌鍚э紝琛ㄧず涓涓櫄鎷熺洰褰曪紝瀹冧富瑕佹湁涓や釜灞炴э紝path灝辯浉褰撲簬铏氭嫙鐩綍鍚嶅瓧錛?鑰?docbase鍒欐槸鍏蜂綋鐨勬枃浠朵綅緗傚湪榪欓噷鎴戠殑铏氭嫙璺緞鍚嶇О涓篶qq錛屽疄闄呬笂鎴戠殑紼嬪簭涔熷氨鏄痟tml銆乯sp銆?
榪欐牱鎴戝氨鍙互閫氳繃 http://127.0.0.1/cqq/ 璁塊棶鎴戠殑榪欎釜铏氭嫙鐩綍浜?jiǎn)銆?/span>

servlet閮?鏀懼湪浜?jiǎn)f:\java\cqqapp榪欎釜鐩綍涓嬩簡(jiǎn)銆?

鍙﹀涓縐嶆柟娉曟槸錛?/span>
閰嶇疆涓や釜绔欑偣

<Host name="www.xyz.com" debug="0" appBase="D:\Tomcat5.5\portal"
    unpackWARs
="true" autoDeploy="true">
    
<Context path="" docBase="D:/Tomcat5.5/portal" debug="0"
        reloadable
="true" />
</Host>
<Host name="www.abc.com" appBase="D:\Tomcat5.5\hxw" unpackWARs="true"
    autoDeploy
="true" xmlValidation="false" xmlNamespaceAware="false">
    
<Context path="" docBase="D:\Tomcat5.5\abc" debug="0"
        reloadable
="true" />
</Host>

榪欐牱璁劇疆浠ュ悗錛岃緭鍏ュ煙鍚嶅彲浠ュ垎鍒埌涓や釜绔欑偣錛?/span>浣嗙敱浜庢病鏈夋寚瀹氶粯璁ょ珯鐐癸紝鎵浠ョ洿鎺ヨ緭鍏P鐨勬椂鍊欙紝鏃犳硶璁塊棶銆?/span>浜庢槸澧炲姞 D:\Tomcat5.5\conf\Catalina\localhost\ROOT.xml鍐呭濡?span style="font-family: tahoma,arial,helvetica,sans-serif; color: #000000; font-size: 14px" color="#000000">

<Context path="/" docBase="${catalina.home}/portal" debug="5"
    reloadable
="true" crossContext="true"></Context>


榪欐牱鍙互瀹炵幇杈撳叆鍩熷悕鍒嗗埆鍒頒釜绔欑偣錛岃緭鍏P灝遍粯璁ゅ埌D:/Tomcat5.5/portal榪欎釜绔欑偣錛?/span>鍙槸錛屽彲鏄紝闂鍑虹幇浜?jiǎn)锛?/span>榪欎袱涓珯鐐瑰惎鍔ㄧ浉褰撴秷鑰楀唴瀛橈紝TOMCAT鍐呭瓨璁劇疆鎴戝凡緇忚鍒?400M浜?jiǎn)锛堝啀楂楾OMCAT5鏃犳硶鍚姩錛夛紝鎵浠ヤ笉鑳藉悓鏃跺惎鍔ㄤ笁涓簲鐢ㄣ?/span>


澶у鏈夋病鏈夊疄鐜拌繃錛屽惎涓涓簲鐢ㄨ岀粦瀹氬涓煙鍚嶇殑鏂規(guī)硶銆?br />濡備笅錛堣繖鏍峰啓TOMCAT鑲畾鏄惎鍔ㄤ笉浜?jiǎn)鐨勫Q屽彧鏄敤鏉ヨ〃杈炬垜鐨勬剰鎬濓級(jí)

<Host name="www.abc.com,192.168.0.1" appBase="D:\Tomcat5.5\hxw"
    unpackWARs
="true" autoDeploy="true" xmlValidation="false"
    xmlNamespaceAware
="false">
    
<Context path="" docBase="D:\Tomcat5.5\abc" debug="0"
        reloadable
="true" />
</Host>


鍥犱負(fù)鎴戞槸鏁村悎鐨勶紝鎵浠ュ氨涓嶇敤鏀?080绔彛浜?jiǎn)鍝~~~~



IceWee 2011-04-16 13:12 鍙戣〃璇勮
]]>
淇敼Tomcat嬈㈣繋鐣岄潰涓鴻嚜宸遍」鐩晫闈?/title><link>http://www.tkk7.com/icewee/archive/2011/04/16/353231.html</link><dc:creator>IceWee</dc:creator><author>IceWee</author><pubDate>Sat, 16 Apr 2011 05:10:00 GMT</pubDate><guid>http://www.tkk7.com/icewee/archive/2011/04/16/353231.html</guid><wfw:comment>http://www.tkk7.com/icewee/comments/353231.html</wfw:comment><comments>http://www.tkk7.com/icewee/archive/2011/04/16/353231.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/icewee/comments/commentRss/353231.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/icewee/services/trackbacks/353231.html</trackback:ping><description><![CDATA[<span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">鐢變簬欏圭洰瑕佸彂甯冨埌浜掕仈緗戯紝鎵浠ュ繀欏誨幓鎺夋祴璇曟椂鍊欑殑绔彛鍜岄」鐩悕縐幫紝鑰屼負(fù)鍏舵寚瀹氬煙鍚嶈闂湴鍧銆?/span> <div class="wqvpfwg" id="blog_text" class="cnt"> <p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt"><strong>絎竴姝ワ紝鍘繪帀绔彛</strong></span></p> <p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">鎵懼埌server.xml錛屽皢榛樿绔彛8080鏀逛負(fù)80錛岃屼笖鍙戝竷鍒頒簰鑱旂綉蹇呴』鐢?0绔彛錛屽洜姝ょ鍙i槻鐏涓嶄細(xì)鎷︽埅銆?br /><br /></span></p> <p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt"><strong>絎簩姝ワ紝鍘繪帀欏圭洰鍚嶇О</strong></span></p> <p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">騫蟲椂鎴戜滑寮鍙戞椂鍙兘浼?xì)缁忓父鐢?a href="http://localhost:8080/xxx"><span style="font-size: 12pt">http://localhost:8080/xxx</span></a></span><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">鎴?a ><span style="font-size: 12pt">http://127.0.0.1:8080/xxx</span></a></span><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">鏉ヨ闂垜浠殑欏圭洰錛岄氳繃絎竴姝ョ殑淇敼鐜板湪鎴戜滑瑕佺敤<a href="http://localhost/xxx"><span style="font-size: 12pt">http://localhost/xxx</span></a></span><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">鎴?a ><span style="font-size: 12pt">http://127.0.0.1/xxx</span></a></span><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">鏉ヨ闂」鐩紝涔熷彲浠ョ敤涓繪満鍚嶆浛鎹?#8220;localhost”鎴?#8220;127.0.0.1”銆傚鏋滅幇鍦ㄦ垜浠疄鐢?a href="http://localhost/"><span style="font-size: 12pt">http://localhost/</span></a></span><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">鎴?a ><span style="font-size: 12pt">http://127.0.0.1/</span></a></span><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">璁塊棶錛岀湅鍒扮殑浼?xì)鏄疶omcat鐨勬榪庣晫闈紝緗戜笂浼楄綰風(fēng)涵錛屼笉榪囨祴璇曞悗閮戒笉綆$敤錛屽叾涓湁涓縐嶈娉曟祴璇曟垚鍔燂紝閭e氨鏄細(xì)</span></p> <p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">榪樻槸淇敼server.xml錛屽湪Host鏍囩涓厤緗」鐩櫄鎷熻礬寰勩備互鍓嶆祴璇曢兘鏄皢xxx.xml鏀懼湪Tomcat鐨刢onf/localhost涓紝鏂囦歡鍐呭澶ф涓猴細(xì)</span></p> <p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt"></p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><span style="color: #0000ff"><</span><span style="color: #800000">Context </span><span style="color: #ff0000">path</span><span style="color: #0000ff">="/xxx"</span><span style="color: #ff0000"> docBase</span><span style="color: #0000ff">="D:\xxx\xxx"</span><span style="color: #ff0000"> debug</span><span style="color: #0000ff">="0"</span><span style="color: #ff0000"> reloadable</span><span style="color: #0000ff">="true"</span><span style="color: #ff0000"> </span><span style="color: #0000ff">/></span></div> <p><br />鐜板湪鎴戝皢path鐨勫兼敼涓?"錛屽惎鍔═omcat錛屽彂鐜頒緷鏃ф槸Tomcat嬈㈣繋欏甸潰銆?/span></p> <p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">浜庢槸灝嗘閰嶇疆澶嶅埗鍒癏ost鏍囩涓紝娉ㄦ剰瑕佹妸xxx.xml縐誨姩鍑哄幓錛屽惁鍒欏氨閰嶇疆浜?jiǎn)涓啤锛尵l撴灉鎴愬姛錛?/span></p> <p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">鐜板湪灝卞彲浠ョ敤<a href="http://localhost/"><span style="font-size: 12pt">http://localhost</span></a></span><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">鏉ヨ闂綘鍙戝竷鐨勯」鐩簡(jiǎn)錛?/span></p> <p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">澶囨敞錛?/span></p> <p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt">緇忚繃姝ら厤緗彲鑳藉鑷寸殑闂鏄儴鍒嗗姛鑳藉嚭鐜伴敊璇紝涔熷氨鏄〉闈㈡棤娉曟樉紺猴紝鍔熻兘涓嶅彲鐢ㄣ傚師鍥犲彲鑳戒箣涓涓猴細(xì)欏圭洰鐨刯sp涓簲鐢ㄤ簡(jiǎn)欏圭洰璺緞濡傦細(xì)iframe鐨?src絳変簬 xxxx/xxxx.do錛屽湪姝よ鍕垮疄鐢ㄥ啓姝葷殑欏圭洰鍚嶅仛涓烘牴錛岃鐢ㄥ姩鎬侀」鐩窡璺緞錛屽錛?{pageContext.request.contextPath}錛屽綋鍓嶆垜浠闂殑欏圭洰鏍硅礬寰勫凡緇忓彉鎴?"(絀轟覆)錛屼綘鍦ㄧ敤xxx鍘誨紩鐢ㄨ嚜鐒舵壘涓嶅埌璺緞鑰屾姤閿欍傝繖灝辨槸鐢ㄥ姩鎬侀」鐩牴璺緞鐨勫ソ澶勩?/span></p></div><img src ="http://www.tkk7.com/icewee/aggbug/353231.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/icewee/" target="_blank">IceWee</a> 2011-04-16 13:10 <a href="http://www.tkk7.com/icewee/archive/2011/04/16/353231.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://ygloka.com" target="_blank">久久水蜜桃亚洲av无码精品麻豆</a>| <a href="http://mtspvip.com" target="_blank">免费黄色网址入口</a>| <a href="http://773311h.com" target="_blank">一级毛片免费观看不卡的</a>| <a href="http://okbala.com" target="_blank">免费看少妇作爱视频</a>| <a href="http://czshenyue.com" target="_blank">亚洲人成网址在线观看</a>| <a href="http://hnshlt.com" target="_blank">九九免费精品视频在这里</a>| <a href="http://cc19123.com" target="_blank">女人18毛片免费观看</a>| <a href="http://hljc988.com" target="_blank">国产亚洲美女精品久久久</a>| <a href="http://yw762.com" target="_blank">亚洲人片在线观看天堂无码</a>| <a href="http://zfjhw.com" target="_blank">久久w5ww成w人免费</a>| <a href="http://zz198.com" target="_blank">日本高清色本免费现在观看</a>| <a href="http://ju7776.com" target="_blank">亚洲熟妇无码乱子AV电影</a>| <a href="http://changfafangzhi.com" target="_blank">亚洲电影免费观看</a>| <a href="http://ccc321.com" target="_blank">真正全免费视频a毛片</a>| <a href="http://5kee.com" target="_blank">日韩毛片免费无码无毒视频观看</a>| <a href="http://nxjyyj.com" target="_blank">国产精品亚洲mnbav网站</a>| <a href="http://144446.com" target="_blank">亚洲av无码不卡久久</a>| <a href="http://5gi555.com" target="_blank">日韩精品极品视频在线观看免费</a>| <a href="http://abab14.com" target="_blank">久久夜色精品国产亚洲av </a>| <a href="http://k67m.com" target="_blank">一个人看的免费高清视频日本</a>| <a href="http://zf91.com" target="_blank">午夜免费不卡毛片完整版</a>| <a href="http://by6215.com" target="_blank">亚洲成人动漫在线观看</a>| <a href="http://wwwwmmmm.com" target="_blank">免费毛片a线观看</a>| <a href="http://watchmini.com" target="_blank">在线观看亚洲成人</a>| <a href="http://35xyz.com" target="_blank">老外毛片免费视频播放</a>| <a href="http://yunyitai.com" target="_blank">暖暖在线日本免费中文</a>| <a href="http://sh-lkby.com" target="_blank">中文字幕亚洲综合小综合在线</a>| <a href="http://benjiebf.com" target="_blank">一区二区三区在线免费观看视频 </a>| <a href="http://svvnn.com" target="_blank">亚洲国产女人aaa毛片在线</a>| <a href="http://beidemei.com" target="_blank">国产精品无码免费专区午夜</a>| <a href="http://27simnjingmiguan.com" target="_blank">亚洲AV蜜桃永久无码精品</a>| <a href="http://0354888.com" target="_blank">亚洲av激情无码专区在线播放</a>| <a href="http://8568008.com" target="_blank">国产免费A∨在线播放</a>| <a href="http://zaidongmaixi.com" target="_blank">成在人线AV无码免费</a>| <a href="http://89895cc.com" target="_blank">亚洲三级在线免费观看</a>| <a href="http://xieehuomh.com" target="_blank">亚欧色视频在线观看免费</a>| <a href="http://km9c.com" target="_blank">亚洲网址在线观看</a>| <a href="http://xxx2222.com" target="_blank">精品一区二区三区免费毛片爱</a>| <a href="http://fkg675.com" target="_blank">亚洲三级电影网站</a>| <a href="http://zzxngk.com" target="_blank">日韩插啊免费视频在线观看</a>| <a href="http://aa2176.com" target="_blank">久久久久久亚洲精品中文字幕 </a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>