資源簡介
簡單的jsp的增刪改查源碼 適合初學者學習

代碼片段和文件信息
/*
??Copyright?(c)?2013?Oracle?and/or?its?affiliates.?All?rights?reserved.
??The?MySQL?Connector/J?is?licensed?under?the?terms?of?the?GPLv2
???like?most?MySQL?Connectors.
??There?are?special?exceptions?to?the?terms?and?conditions?of?the?GPLv2?as?it?is?applied?to
??this?software?see?the?FLOSS?License?Exception
??.
??This?program?is?free?software;?you?can?redistribute?it?and/or?modify?it?under?the?terms
??of?the?GNU?General?Public?License?as?published?by?the?Free?Software?Foundation;?version?2
??of?the?License.
??This?program?is?distributed?in?the?hope?that?it?will?be?useful?but?WITHOUT?ANY?WARRANTY;
??without?even?the?implied?warranty?of?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.
??See?the?GNU?General?Public?License?for?more?details.
??You?should?have?received?a?copy?of?the?GNU?General?Public?License?along?with?this
??program;?if?not?write?to?the?Free?Software?Foundation?Inc.?51?Franklin?St?Fifth
??Floor?Boston?MA?02110-1301??USA
?*/
package?com.mysql.jdbc;
import?java.lang.ref.Reference;
import?com.mysql.jdbc.NonRegisteringDriver.ConnectionPhantomReference;
public?class?AbandonedConnectionCleanupThread?extends?Thread?{
private?static?boolean?running?=?true;
private?static?Thread?threadRef?=?null;
public?AbandonedConnectionCleanupThread()?{
super(“Abandoned?connection?cleanup?thread“);
}
public?void?run()?{
threadRef?=?this;
while?(running)?{
try?{
Reference?extends?ConnectionImpl>?ref?=?NonRegisteringDriver.refQueue.remove(100);
if?(ref?!=?null)?{
try?{
((ConnectionPhantomReference)?ref).cleanup();
}?finally?{
NonRegisteringDriver.connectionPhantomRefs.remove(ref);
}
}
}?catch?(Exception?ex)?{
//?no?where?to?really?log?this?if?we‘re?static
}
}
}
public?static?void?shutdown()?throws?InterruptedException?{
running?=?false;
if?(threadRef?!=?null)?{
threadRef.interrupt();
threadRef.join();
threadRef?=?null;
}
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-05-28?11:35??normal0.2\
?????文件????????2423??2015-05-21?09:29??normal0.2\addStuInfo.jsp
?????文件????????1962??2015-05-21?12:22??normal0.2\delete.jsp
?????文件????????1098??2015-05-21?15:31??normal0.2\index.jsp
?????文件????????2280??2015-05-21?12:22??normal0.2\insert.jsp
?????目錄???????????0??2015-05-21?14:34??normal0.2\pic\
?????文件???????15027??2012-03-31?14:13??normal0.2\pic\background.jpg
?????文件????????2642??2015-05-21?12:23??normal0.2\select_for_age.jsp
?????文件????????2598??2015-05-21?16:03??normal0.2\select_for_gender.jsp
?????文件????????2688??2015-05-21?12:23??normal0.2\select_for_id.jsp
?????文件????????2684??2015-05-21?15:55??normal0.2\select_for_major.jsp
?????文件????????2688??2015-05-21?12:24??normal0.2\select_for_name.jsp
?????文件????????4069??2015-05-21?12:24??normal0.2\showInfo.jsp
?????文件????????4748??2015-05-21?13:27??normal0.2\update.jsp
?????文件????????2260??2015-05-21?15:00??normal0.2\updateShow.jsp
?????目錄???????????0??2015-05-21?14:34??normal0.2\WEB-INF\
?????目錄???????????0??2015-05-21?14:34??normal0.2\WEB-INF\lib\
?????文件???????46668??2013-04-17?14:03??normal0.2\WEB-INF\lib\build.xm
?????文件??????217285??2013-04-17?14:03??normal0.2\WEB-INF\lib\CHANGES
?????文件???????18122??2013-04-17?14:03??normal0.2\WEB-INF\lib\COPYING
?????目錄???????????0??2015-05-21?14:34??normal0.2\WEB-INF\lib\docs\
?????文件??????406093??2013-04-17?14:03??normal0.2\WEB-INF\lib\docs\connector-j.html
?????文件??????405352??2013-04-17?14:03??normal0.2\WEB-INF\lib\docs\connector-j.pdf
?????文件??????266680??2013-04-17?14:03??normal0.2\WEB-INF\lib\docs\README.txt
?????目錄???????????0??2015-05-21?14:34??normal0.2\WEB-INF\lib\mysql-connector-java-5.1.25\
?????文件??????848401??2013-04-17?14:03??normal0.2\WEB-INF\lib\mysql-connector-java-5.1.25-bin.jar
?????文件???????46668??2013-04-17?14:03??normal0.2\WEB-INF\lib\mysql-connector-java-5.1.25\build.xm
?????文件??????217285??2013-04-17?14:03??normal0.2\WEB-INF\lib\mysql-connector-java-5.1.25\CHANGES
?????文件???????18122??2013-04-17?14:03??normal0.2\WEB-INF\lib\mysql-connector-java-5.1.25\COPYING
?????目錄???????????0??2015-05-21?14:34??normal0.2\WEB-INF\lib\mysql-connector-java-5.1.25\docs\
?????文件??????406093??2013-04-17?14:03??normal0.2\WEB-INF\lib\mysql-connector-java-5.1.25\docs\connector-j.html
............此處省略614個文件信息
- 上一篇:智能翻譯.apk
- 下一篇:iperf-3.0.7_android.zip
評論
共有 條評論