-
大小: 9.27MB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2023-11-10
- 語言: Java
- 標簽:
資源簡介
采用java技術(shù)構(gòu)建的一個管理系統(tǒng)。整個開發(fā)過程首先對系統(tǒng)進行需求分析,得出系統(tǒng)的主要功能。接著對系統(tǒng)進行總體設(shè)計和詳細設(shè)計??傮w設(shè)計主要包括系統(tǒng)功能設(shè)計、系統(tǒng)總體結(jié)構(gòu)設(shè)計、系統(tǒng)數(shù)據(jù)結(jié)構(gòu)設(shè)計和系統(tǒng)安全設(shè)計等;詳細設(shè)計主要包括系統(tǒng)數(shù)據(jù)庫訪問的實現(xiàn),主要功能模塊的具體實現(xiàn),模塊實現(xiàn)關(guān)鍵代碼等。最后對系統(tǒng)進行功能測試,并對測試結(jié)果進行分析總結(jié)。
包括程序畢設(shè)程序源代碼一份,數(shù)據(jù)庫一份,完美運行。配置環(huán)境里面有說明。如有不會運行源代碼或定制私信。
代碼片段和文件信息
package?control;
import?java.io.BufferedInputStream;
import?java.io.BufferedOutputStream;
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?javax.servlet.ServletException;
import?javax.servlet.http.HttpServlet;
import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpServletResponse;
import?util.Info;
public?class?Upload?extends?HttpServlet?{
/**
?*?Constructor?of?the?object.
?*/
public?Upload()?{
super();
}
/**
?*?Destruction?of?the?servlet.?
?*/
public?void?destroy()?{
super.destroy();?//?Just?puts?“destroy“?string?in?log
//?Put?your?code?here
}
/**
?*?The?doGet?method?of?the?servlet.?
?*
?*?This?method?is?called?when?a?form?has?its?tag?value?method?equals?to?get.
?*?
?*?@param?request?the?request?send?by?the?client?to?the?server
?*?@param?response?the?response?send?by?the?server?to?the?client
?*?@throws?ServletException?if?an?error?occurred
?*?@throws?IOException?if?an?error?occurred
?*/
public?void?doGet(HttpServletRequest?request?HttpServletResponse?response)
throws?ServletException?IOException?{
this.doPost(request?response);
}
/**
?*?The?doPost?method?of?the?servlet.?
?*
?*?This?method?is?called?when?a?form?has?its?tag?value?method?equals?to?post.
?*?
?*?@param?request?the?request?send?by?the?client?to?the?server
?*?@param?response?the?response?send?by?the?server?to?the?client
?*?@throws?ServletException?if?an?error?occurred
?*?@throws?IOException?if?an?error?occurred
?*/
public?void?doPost(HttpServletRequest?request?HttpServletResponse?response)
throws?ServletException?IOException?{
StringBuffer???sb???=???new???StringBuffer(50);???
?response.setContentType(“application/x-msdownload;charset=GB2312“);???
????????try?{
response.setHeader(“Content-Disposition“???new???String(sb.toString()???
?????????.getBytes()???“ISO8859-1“));
}?catch?(UnsupportedEncodingException?e1)?{
//?TODO?Auto-generated?catch?block
e1.printStackTrace();
}
?String?filename?=?request.getParameter(“filename“);
??if?(request.getHeader(“User-Agent“).toLowerCase().indexOf(“firefox“)?>?0){
?????try?{
filename?=?new?String(filename.getBytes(“gb2312“)?“ISO8859-1“);
}?catch?(UnsupportedEncodingException?e)?{
//?TODO?Auto-generated?catch?block
e.printStackTrace();
}
?}
?else?
??????if?(request.getHeader(“User-Agent“).toUpperCase().indexOf(“MSIE“)?>?0){
???????????try?{
filename?=?URLEncoder.encode(filename?“gb2312“);
}?catch?(UnsupportedEncodingException?e)?{
//?TODO?Auto-generated?catch?block
?
}
??????}
?response.setContentType(“text/plain“);
?response.setHeader(“Location“filename);
?response.reset();
?response.setHeader(“Cache-Con
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2020-08-04?16:15??863java長途汽車站售票系統(tǒng)\
?????文件?????????524??2020-08-04?11:51??863java長途汽車站售票系統(tǒng)\必看環(huán)境配置運行說明.txt
?????目錄???????????0??2019-12-10?00:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\
?????文件?????????606??2019-12-09?22:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.classpath
?????文件?????????345??2019-12-10?00:25??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.myme
?????文件??????????66??2019-12-09?22:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.myumldata
?????文件????????1771??2019-12-09?22:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.project
?????目錄???????????0??2019-12-10?00:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.settings\
?????文件?????????493??2019-12-09?22:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.settings\.jsdtscope
?????文件??????????97??2019-12-09?22:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.settings\org.eclipse.core.resources.prefs
?????文件?????????629??2019-12-09?22:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.settings\org.eclipse.jdt.core.prefs
?????文件?????????456??2019-12-09?22:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.settings\org.eclipse.wst.common.component
?????文件?????????252??2019-12-09?22:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件??????????49??2019-12-09?22:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2019-12-09?22:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2020-08-04?16:06??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\
?????目錄???????????0??2019-12-10?00:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\me
?????文件??????????36??2019-12-09?22:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\me
?????目錄???????????0??2019-12-10?00:24??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\
?????目錄???????????0??2019-12-10?12:06??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\
?????目錄???????????0??2019-12-10?12:07??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\control\
?????文件???????13172??2019-12-10?12:07??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\control\MainCtrl.class
?????文件????????3452??2019-12-10?12:07??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\control\Upload.class
?????目錄???????????0??2019-12-10?12:07??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\dao\
?????文件???????16687??2019-12-10?12:07??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\dao\CommDAO.class
?????目錄???????????0??2019-12-10?12:07??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\servlet\
?????文件????????1370??2019-12-10?12:07??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\servlet\QRCode.class
?????目錄???????????0??2019-12-10?12:07??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\util\
?????文件???????23046??2019-12-10?12:07??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\util\Info.class
?????文件????????5826??2019-12-10?12:07??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\util\PageManager.class
?????文件????????2150??2019-12-10?12:07??863java長途汽車站售票系統(tǒng)\長途汽車站售票系統(tǒng)\WebRoot\WEB-INF\classes\util\QRCodeUtil.class
............此處省略625個文件信息
評論
共有 條評論