-
大小: 9.3MB文件類型: .zip金幣: 2下載: 0 次發(fā)布日期: 2023-11-10
- 語言: Java
- 標(biāo)簽:
資源簡介
采用java技術(shù)構(gòu)建的一個管理系統(tǒng)。整個開發(fā)過程首先對系統(tǒng)進(jìn)行需求分析,得出系統(tǒng)的主要功能。接著對系統(tǒng)進(jìn)行總體設(shè)計和詳細(xì)設(shè)計。總體設(shè)計主要包括系統(tǒng)功能設(shè)計、系統(tǒng)總體結(jié)構(gòu)設(shè)計、系統(tǒng)數(shù)據(jù)結(jié)構(gòu)設(shè)計和系統(tǒng)安全設(shè)計等;詳細(xì)設(shè)計主要包括系統(tǒng)數(shù)據(jù)庫訪問的實現(xiàn),主要功能模塊的具體實現(xiàn),模塊實現(xiàn)關(guān)鍵代碼等。最后對系統(tǒng)進(jìn)行功能測試,并對測試結(jié)果進(jìn)行分析總結(jié)。
包括程序畢設(shè)程序源代碼一份,數(shù)據(jù)庫一份,完美運(yùn)行。配置環(huán)境里面有說明。如有不會運(yùn)行源代碼或定制私信。

代碼片段和文件信息
package?control;
import?java.io.BufferedInputStream;
import?java.io.BufferedOutputStream;
import?java.io.File;
import?java.io.FileInputStream;
import?java.io.IOException;
import?java.io.InputStream;
import?java.io.OutputStream;
import?java.io.PrintWriter;
import?java.io.UnsupportedEncodingException;
import?java.net.URLEncoder;
import?java.util.ArrayList;
import?java.util.HashMap;
import?java.util.List;
import?javax.servlet.ServletException;
import?javax.servlet.http.HttpServlet;
import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpServletResponse;
import?jxl.Cell;
import?jxl.Sheet;
import?jxl.Workbook;
import?org.apache.commons.fileupload.FileItem;
import?org.apache.commons.fileupload.FileUpload;
import?org.apache.commons.fileupload.RequestContext;
import?org.apache.commons.fileupload.disk.DiskFileItemFactory;
import?org.apache.commons.fileupload.servlet.ServletFileUpload;
import?org.apache.commons.fileupload.servlet.ServletRequestContext;
import?util.Info;
import?dao.CommDAO;
public?class?MainCtrl?extends?HttpServlet?{
public?MainCtrl()?{
super();
}
public?void?destroy()?{
super.destroy();?//?Just?puts?“destroy“?string?in?log
//?Put?your?code?here
}
public?void?doGet(HttpServletRequest?request?HttpServletResponse?response)
throws?ServletException?IOException?{
this.doPost(request?response);
}
public?void?go(String?urlHttpServletRequest?request?HttpServletResponse?response)
{
try?{
request.getRequestDispatcher(url).forward(request?response);
}?catch?(ServletException?e)?{
e.printStackTrace();
}?catch?(IOException?e)?{
e.printStackTrace();
}
}
public?void?gor(String?urlHttpServletRequest?request?HttpServletResponse?response)
{
try?{
response.sendRedirect(url);
}?catch?(IOException?e)?{
//?TODO?Auto-generated?catch?block
e.printStackTrace();
}
}
public?void?doPost(HttpServletRequest?request?HttpServletResponse?response)
throws?ServletException?IOException?{
????????response.setContentType(“text/html“);
PrintWriter?out?=?response.getWriter();
String?ac?=?request.getParameter(“ac“);
if(ac==null)ac=““;
CommDAO?dao?=?new?CommDAO();
String?date?=?Info.getDateStr();
String?today?=?date.substring(010);
String?tomonth?=?date.substring(07);
?
if(ac.equals(“l(fā)ogin“))
{
String?username?=?request.getParameter(“username“);
String?password?=?request.getParameter(“pwd1“);
String?utype?=?request.getParameter(“cx“);
String?pagerandom?=?request.getParameter(“pagerandom“)==null?““:request.getParameter(“pagerandom“);
String?random?=?(String)request.getSession().getAttribute(“random“);
if(!pagerandom.equals(random)&&request.getParameter(“a“)!=null)
{
request.setAttribute(“random“?““);
go(“/index.jsp“?request?response);
}
else{
String?sql1=““;
if?(utype.equals(“管理員“)){sql1?=?“sele
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2020-08-04?11:51??975java門診信息管理系統(tǒng)\
?????目錄???????????0??2020-01-20?11:54??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\
?????文件?????????606??2020-01-20?09:53??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.classpath
?????文件?????????342??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.myme
?????文件??????????66??2020-01-20?09:53??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.myumldata
?????文件????????1770??2020-01-20?09:53??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.project
?????目錄???????????0??2020-01-20?11:54??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.settings\
?????文件?????????493??2020-01-20?09:53??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.settings\.jsdtscope
?????文件??????????97??2020-01-20?09:53??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.settings\org.eclipse.core.resources.prefs
?????文件?????????629??2020-01-20?09:53??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.settings\org.eclipse.jdt.core.prefs
?????文件?????????456??2020-01-20?09:53??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.settings\org.eclipse.wst.common.component
?????文件?????????252??2020-01-20?09:53??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件??????????49??2020-01-20?09:53??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2020-01-20?09:53??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2020-08-04?11:45??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\
?????目錄???????????0??2020-01-20?11:54??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\me
?????文件??????????36??2020-01-20?09:53??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\me
?????目錄???????????0??2020-01-20?11:54??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\
?????目錄???????????0??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\
?????目錄???????????0??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\control\
?????文件???????13508??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\control\MainCtrl.class
?????文件????????3452??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\control\Upload.class
?????目錄???????????0??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\dao\
?????文件???????16686??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\dao\CommDAO.class
?????目錄???????????0??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\servlet\
?????文件????????1370??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\servlet\QRCode.class
?????目錄???????????0??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\util\
?????文件???????23046??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\util\Info.class
?????文件????????5826??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\util\PageManager.class
?????文件????????2150??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\util\QRCodeUtil.class
?????文件????????2693??2020-01-20?11:55??975java門診信息管理系統(tǒng)\jspmmzxxglxthsg7580ABA8\WebRoot\WEB-INF\classes\util\SetChar.class
............此處省略650個文件信息
評論
共有 條評論