资源简介
采用java技术构建的一个管理系统。整个开发过程首先对系统进行需求分析,得出系统的主要功能。接着对系统进行总体设计和详细设计。总体设计主要包括系统功能设计、系统总体结构设计、系统数据结构设计和系统安全设计等;详细设计主要包括系统数据库访问的实现,主要功能模块的具体实现,模块实现关键代码等。最后对系统进行功能测试,并对测试结果进行分析总结。
包括程序毕设程序源代码一份,数据库一份,完美运行。配置环境里面有说明。如有不会运行源代码或定制私信。
代码片段和文件信息
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-09-09 21:25 1050java交互体验的电影评价系统\
目录 0 2020-09-09 21:00 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\
文件 606 2020-03-08 09:01 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.classpath
文件 351 2020-03-08 11:06 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.myme
文件 66 2020-03-08 09:01 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.myumldata
文件 1773 2020-03-08 09:01 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.project
目录 0 2020-09-09 21:00 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.settings\
文件 493 2020-03-08 09:01 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.settings\.jsdtscope
文件 97 2020-03-08 09:01 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.settings\org.eclipse.core.resources.prefs
文件 629 2020-03-08 09:01 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.settings\org.eclipse.jdt.core.prefs
文件 456 2020-03-08 09:01 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.settings\org.eclipse.wst.common.component
文件 252 2020-03-08 09:01 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2020-03-08 09:01 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2020-03-08 09:01 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\.settings\org.eclipse.wst.jsdt.ui.superType.name
目录 0 2020-09-09 21:00 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\
目录 0 2020-09-09 21:00 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\me
文件 36 2020-03-08 09:02 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\me
目录 0 2020-09-09 21:00 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\
目录 0 2020-09-09 21:00 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\
目录 0 2020-09-09 21:00 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\control\
文件 13318 2020-03-08 11:06 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\control\MainCtrl.class
文件 3452 2020-03-08 11:06 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\control\Upload.class
目录 0 2020-09-09 21:00 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\dao\
文件 16689 2020-03-08 11:06 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\dao\CommDAO.class
目录 0 2020-09-09 21:00 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\servlet\
文件 1370 2020-03-08 11:06 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\servlet\QRCode.class
目录 0 2020-09-09 21:00 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\util\
文件 23046 2020-03-08 11:06 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\util\Info.class
文件 5826 2020-03-08 11:06 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\util\PageManager.class
文件 2150 2020-03-08 11:06 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\util\QRCodeUtil.class
文件 2693 2020-03-08 11:06 1050java交互体验的电影评价系统\jspmjhtyddypjxthsg7598X1B6\WebRoot\WEB-INF\classes\util\SetChar.class
............此处省略634个文件信息
评论
共有 条评论