91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 7.09MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-11-03
  • 語言: Java
  • 標(biāo)簽: javaweb??mysql??myeclipse??jsp??

資源簡介

開發(fā)工具:myeclipse 數(shù)據(jù)庫:mysql? ? ? navicat for mysql 這是用jsp做的校園二手交易網(wǎng)站平臺的項目,有全部的代碼,可以實(shí)現(xiàn),功能全面 包括很多jsp框架和java技術(shù),數(shù)據(jù)庫用的是mysql。 有系統(tǒng)完整代碼?

資源截圖

代碼片段和文件信息

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?javax.servlet.http.HttpSession;

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();
HttpSession?session?=?request.getSession();
HashMap?user?=?(HashMap)session.getAttribute(“admin“);
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?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(“/admin/login.jsp“?request?response);
//}
//else{?
String?username?=?request.getParameter(“uname“);
St

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????19384??2017-05-02?21:34??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\db_ershou.sql

?????文件???????1069??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\.classpath

?????文件????????292??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\.mymetadata

?????文件???????1224??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\.project

?????文件???????1040??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\.settings\com.genuitec.eclipse.j2eedt.core.prefs

?????文件????????125??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\.settings\org.eclipse.core.resources.prefs

?????文件??????16719??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\src\control\MainCtrl.java

?????文件????????612??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\src\control\Test.java

?????文件???????4122??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\src\control\Upload.java

?????文件??????17362??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\src\dao\CommDAO.java

?????文件????????405??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\src\dbconnection.properties

?????文件??????23949??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\src\util\Info.java

?????文件???????7139??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\src\util\PageManager.java

?????文件???????1692??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\src\util\SetChar.java

?????文件???????3461??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\src\util\StrUtil.java

?????文件???????5044??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\addmixinfof.jsp

?????文件????????917??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\center.jsp

?????文件???????1028??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\down.jsp

?????文件???????8344??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\fwlycx.jsp

?????文件???????5533??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\fwlytj.jsp

?????文件???????5902??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\fwlyxg.jsp

?????文件???????5201??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\gywm.jsp

?????文件???????8398??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\hbnewscx.jsp

?????文件???????6324??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\hbnewstj.jsp

?????文件???????6587??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\hbnewsxg.jsp

?????文件????????657??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\images\1.gif

?????文件???????1538??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\images\13.gif

?????文件????????268??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\images\2.gif

?????文件???????1216??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\images\21.gif

?????文件???????1186??2017-05-04?20:24??JSP?校園二手交易平臺(源代碼+數(shù)據(jù)庫)修改后\ershou\WebRoot\admin\images\22.gif

............此處省略1138個文件信息

評論

共有 條評論

相關(guān)資源