-
大小: 603KB文件類型: .rar金幣: 1下載: 0 次發(fā)布日期: 2021-01-11
- 語(yǔ)言: Java
- 標(biāo)簽:
資源簡(jiǎn)介
jsp開發(fā)的醫(yī)院管理信息系統(tǒng),完整代碼和數(shù)據(jù)庫(kù)文件,Eclipse開發(fā)環(huán)境,服務(wù)器用的Tomcat,歡迎下載。
代碼片段和文件信息
package?hospital.db;
import?java.sql.*;
/**
?*?本類用于與數(shù)據(jù)庫(kù)建立接
?*
?*?作者:Fido?Dido
?*/
public?abstract?class?DBConnection{
private?static?Connection?conn=null;
/**
?*?與數(shù)據(jù)庫(kù)建立連接
?*
?*?返回值-Connection對(duì)象
?*/
public?static?Connection?getConnection(){
try{
if(conn?==?null){
Class.forName(“com.mysql.jdbc.Driver“);
conn=DriverManager.getConnection(“jdbc:mysql://localhost:3306/hospital““root“““);
Debug.log(“Connecion?created.“);
}
else{
Statement?stmt=conn.createStatement();
ResultSet?rs=stmt.executeQuery(“SELECT?COUNT(*)?FROM?administrator“);
if(rs==null||!rs.next()){
Class.forName(“com.mysql.jdbc.Driver“);
conn=DriverManager.getConnection(“jdbc:mysql://localhost:3306/hospital““root““root“);
Debug.log(“Connec
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????2142??2004-10-03?02:11??5-1\供開發(fā)使用的程序\hospital.src\default.jsp
?????文件??????10561??2004-09-26?19:16??5-1\供開發(fā)使用的程序\hospital.src\hospital.jpx
?????文件???????2620??2004-09-26?19:17??5-1\供開發(fā)使用的程序\hospital.src\hospital.jpx.local
?????文件????????227??2004-09-18?20:35??5-1\供開發(fā)使用的程序\hospital.src\Servlet.library
?????文件?????????96??2004-11-10?01:23??5-1\供開發(fā)使用的程序\hospital.src\頁(yè)面+bean源文件.說(shuō)明.txt
?????文件???????2927??2004-11-07?15:52??5-1\供開發(fā)使用的程序\hospital.src\admin\addDoctor.jsp
?????文件???????2312??2004-11-10?01:13??5-1\供開發(fā)使用的程序\hospital.src\admin\getDoctorInfo.jsp
?????文件???????2066??2004-11-07?15:52??5-1\供開發(fā)使用的程序\hospital.src\admin\login.jsp
?????文件????????241??2004-11-07?15:44??5-1\供開發(fā)使用的程序\hospital.src\admin\logout.jsp
?????文件????????943??2004-11-07?15:51??5-1\供開發(fā)使用的程序\hospital.src\admin\main.jsp
?????文件???????1649??2004-11-07?15:52??5-1\供開發(fā)使用的程序\hospital.src\admin\removeDoctor.jsp
?????文件???????2178??2004-11-07?15:57??5-1\供開發(fā)使用的程序\hospital.src\doctor\createHistory.jsp
?????文件???????1662??2004-11-07?15:58??5-1\供開發(fā)使用的程序\hospital.src\doctor\finishHistory.jsp
?????文件???????2523??2004-11-07?15:58??5-1\供開發(fā)使用的程序\hospital.src\doctor\getPatientHistory.jsp
?????文件???????2226??2004-11-07?16:01??5-1\供開發(fā)使用的程序\hospital.src\doctor\getPatientInQueue.jsp
?????文件???????2167??2004-11-07?15:59??5-1\供開發(fā)使用的程序\hospital.src\doctor\login.jsp
?????文件????????259??2004-11-07?15:44??5-1\供開發(fā)使用的程序\hospital.src\doctor\logout.jsp
?????文件????????947??2004-11-07?15:55??5-1\供開發(fā)使用的程序\hospital.src\doctor\main.jsp
?????文件???????2476??2004-11-10?00:49??5-1\供開發(fā)使用的程序\hospital.src\doctor\updateHistory.jsp
?????文件???????1872??2004-11-07?15:58??5-1\供開發(fā)使用的程序\hospital.src\doctor\updatePassword.jsp
?????文件???????2160??2004-10-03?02:25??5-1\供開發(fā)使用的程序\hospital.src\images\LEFTBAR.GIF
?????文件??????17323??2002-12-26?22:51??5-1\供開發(fā)使用的程序\hospital.src\images\TOPBAR.GIF
?????文件????????762??2004-11-07?15:56??5-1\供開發(fā)使用的程序\hospital.src\include\admin.inc
?????文件????????283??2004-11-07?15:23??5-1\供開發(fā)使用的程序\hospital.src\include\ccs.inc
?????文件????????987??2004-11-07?15:55??5-1\供開發(fā)使用的程序\hospital.src\include\doctor.inc
?????文件????????688??2004-11-07?15:17??5-1\供開發(fā)使用的程序\hospital.src\include\head.inc
?????文件???????1151??2004-11-07?15:56??5-1\供開發(fā)使用的程序\hospital.src\include\patient.inc
?????文件????????167??2004-09-21?18:19??5-1\供開發(fā)使用的程序\hospital.src\log\2004-09-21.log
?????文件????????212??2004-09-23?01:16??5-1\供開發(fā)使用的程序\hospital.src\log\2004-09-23.log
?????文件?????????75??2004-09-24?20:35??5-1\供開發(fā)使用的程序\hospital.src\log\2004-09-24.log
............此處省略144個(gè)文件信息
評(píng)論
共有 條評(píng)論