锘??xml version="1.0" encoding="utf-8" standalone="yes"?>色婷婷久久一区二区三区麻豆,成年午夜在线,国内自拍一区http://www.aygfsteel.com/liudawei/category/39538.html鐣呮兂鐨勫ぉ絀?/description>zh-cnWed, 13 May 2009 19:35:14 GMTWed, 13 May 2009 19:35:14 GMT60鍦╓eb欏圭洰META-INF涓嬪緩绔婽omcat榪炴帴姹?/title><link>http://www.aygfsteel.com/liudawei/articles/270377.html</link><dc:creator>鍒樺ぇ浼?/dc:creator><author>鍒樺ぇ浼?/author><pubDate>Wed, 13 May 2009 04:18:00 GMT</pubDate><guid>http://www.aygfsteel.com/liudawei/articles/270377.html</guid><wfw:comment>http://www.aygfsteel.com/liudawei/comments/270377.html</wfw:comment><comments>http://www.aygfsteel.com/liudawei/articles/270377.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/liudawei/comments/commentRss/270377.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/liudawei/services/trackbacks/270377.html</trackback:ping><description><![CDATA[<div> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: '瀹嬩綋';">鐜<font face="Times New Roman">:5.5</font><font face="瀹嬩綋">浠ュ悗鍚?/font><font face="Times New Roman">5.5</font><font face="瀹嬩綋">鐗堟湰</font></span></p> <p style="text-indent: 21pt; margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: '瀹嬩綋';">鍦?font face="Times New Roman">META-INF</font><font face="瀹嬩綋">涓嬪緩绔嬫枃浠朵負(fù)</font><font face="Times New Roman">context.xml</font></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';"><</span><span style="background: #c0c0c0 none repeat scroll 0% 0%; color: #3f7f7f; font-size: 10.5pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: 'Courier New';">Context</span> <span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">antiResourceLocking</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"false"</span> <span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">privileged</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"true"</span> <span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';">></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">    </span><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';"><</span><span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">Resource</span> <span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">name</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"mysql"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">auth</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"Container"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">type</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"javax.sql.DataSource"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">url</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"jdbc:mysql://localhost:3306/test"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">initialSize</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"2"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">maxActive</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"20"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">maxIdle</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"20"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">minIdle</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"2"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">maxWait</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"10000"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">removeAbandoned</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"true"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">username</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"root"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">password</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"123456"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">driverClassName</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"com.mysql.jdbc.Driver"</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="font-size: 10.5pt; font-family: 'Courier New';">               </span><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';">/></span></p> <p style="text-indent: 21pt; margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';"></</span><span style="background: #c0c0c0 none repeat scroll 0% 0%; color: #3f7f7f; font-size: 10.5pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: 'Courier New';">Context</span><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';">></span></p> <p style="text-indent: 21pt; margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #008080; font-size: 10.5pt; font-family: '瀹嬩綋';">嫻嬭瘯榪炴帴姹狅細(xì)</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';"><%@</span> <span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">page</span> <span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">language</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"java"</span> <span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">import</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"java.util.*"</span> <span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">pageEncoding</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"UTF-8"</span><span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';">%></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';"><%@</span> <span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">page</span> <span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">import</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"javax.naming.NamingException"</span> <span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';">%></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';"><%@</span> <span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">page</span> <span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">import</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"javax.naming.InitialContext"</span> <span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';">%></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';"><%@</span> <span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">page</span> <span style="color: #7f007f; font-size: 10.5pt; font-family: 'Courier New';">import</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">=</span><span style="color: #2a00ff; font-style: italic; font-size: 10.5pt; font-family: 'Courier New';">"javax.naming.Context"</span> <span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';">%></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';"><!</span><span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">DOCTYPE</span> <span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';">HTML</span> <span style="color: #808080; font-size: 10.5pt; font-family: 'Courier New';">PUBLIC</span><span style="font-size: 10.5pt; font-family: 'Courier New';"> "-//W3C//DTD HTML 4.01 Transitional//EN"></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';"><</span><span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">html</span><span style="font-size: 10.5pt; font-family: 'Courier New';">></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">  </span><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';"><</span><span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">head</span><span style="font-size: 10.5pt; font-family: 'Courier New';">></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">  </span><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';"></</span><span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">head</span><span style="font-size: 10.5pt; font-family: 'Courier New';">></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">  </span><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';"><</span><span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">body</span><span style="font-size: 10.5pt; font-family: 'Courier New';">></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">   </span><span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';"><%</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">   </span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">javax.sql.DataSource ds = </span><span style="color: #7f0055; font-weight: bold; font-size: 10.5pt; font-family: 'Courier New';">null</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">;   </span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">Context ctx = </span><span style="color: #7f0055; font-weight: bold; font-size: 10.5pt; font-family: 'Courier New';">new</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';"> InitialContext();   </span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">ds = (javax.sql.DataSource) ctx.lookup(</span><span style="color: #2a00ff; font-size: 10.5pt; font-family: 'Courier New';">"java:comp/env/mysql"</span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">); </span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">   </span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">   </span> <span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';">%></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">   </span> <span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';"><%=</span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">   </span> <span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">ds.getConnection()</span> </p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">   </span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">  </span><span style="color: #bf5f3f; font-size: 10.5pt; font-family: 'Courier New';">%></span><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">  </span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #000000; font-size: 10.5pt; font-family: 'Courier New';">  </span><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';"></</span><span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">body</span><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';">></span></p> <p style="margin-bottom: 0pt; margin-top: 0pt;"><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';"></</span><span style="color: #3f7f7f; font-size: 10.5pt; font-family: 'Courier New';">html</span><span style="color: #008080; font-size: 10.5pt; font-family: 'Courier New';">></span></p> </div> <img src ="http://www.aygfsteel.com/liudawei/aggbug/270377.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/liudawei/" target="_blank">鍒樺ぇ浼?/a> 2009-05-13 12:18 <a href="http://www.aygfsteel.com/liudawei/articles/270377.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">佛坪县</a>| <a href="http://" target="_blank">南澳县</a>| <a href="http://" target="_blank">洪湖市</a>| <a href="http://" target="_blank">天津市</a>| <a href="http://" target="_blank">安龙县</a>| <a href="http://" target="_blank">淮南市</a>| <a href="http://" target="_blank">漾濞</a>| <a href="http://" target="_blank">建湖县</a>| <a href="http://" target="_blank">沅陵县</a>| <a href="http://" target="_blank">石屏县</a>| <a href="http://" target="_blank">玛曲县</a>| <a href="http://" target="_blank">皮山县</a>| <a href="http://" target="_blank">西贡区</a>| <a href="http://" target="_blank">邮箱</a>| <a href="http://" target="_blank">民乐县</a>| <a href="http://" target="_blank">鄯善县</a>| <a href="http://" target="_blank">资阳市</a>| <a href="http://" target="_blank">永丰县</a>| <a href="http://" target="_blank">清河县</a>| <a href="http://" target="_blank">吐鲁番市</a>| <a href="http://" target="_blank">徐水县</a>| <a href="http://" target="_blank">康乐县</a>| <a href="http://" target="_blank">扶沟县</a>| <a href="http://" target="_blank">开原市</a>| <a href="http://" target="_blank">上林县</a>| <a href="http://" target="_blank">巍山</a>| <a href="http://" target="_blank">广饶县</a>| <a href="http://" target="_blank">历史</a>| <a href="http://" target="_blank">桂东县</a>| <a href="http://" target="_blank">阿拉善右旗</a>| <a href="http://" target="_blank">射阳县</a>| <a href="http://" target="_blank">濮阳市</a>| <a href="http://" target="_blank">和政县</a>| <a href="http://" target="_blank">巴彦淖尔市</a>| <a href="http://" target="_blank">林周县</a>| <a href="http://" target="_blank">大港区</a>| <a href="http://" target="_blank">屯门区</a>| <a href="http://" target="_blank">玛纳斯县</a>| <a href="http://" target="_blank">兴和县</a>| <a href="http://" target="_blank">承德县</a>| <a href="http://" 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>