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

  • 大小: 10.61MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-06
  • 語言: Java
  • 標簽: 校園??二手??java??

資源簡介

利用jsp和java開發的校園二手市場,開發工具為myeclipse,數據庫為sql

資源截圖

代碼片段和文件信息

package?com.action;
/**
?*?管理員登陸?增加?修改?刪除?刪除登陸日志
?*/
import?java.io.IOException;
import?java.util.List;
import?java.util.StringTokenizer;

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?com.bean.AdminBean;
import?com.bean.SystemBean;
import?com.util.Constant;
import?com.util.MD5;

public?class?AdminAction?extends?HttpServlet?{

/**
?*?Constructor?of?the?object.
?*/
public?AdminAction()?{
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?{

doPost(requestresponse);
}

/**
?*?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?{

response.setContentType(Constant.CONTENTTYPE);
request.setCharacterEncoding(Constant.CHARACTERENCODING);
try{
String?method=request.getParameter(“method“).trim();
AdminBean?loginbean?=?new?AdminBean();
HttpSession?session?=?request.getSession();
session.setMaxInactiveInterval(1200);
SystemBean?systembean?=?new?SystemBean();
String?sysdir?=?systembean.getDir();
if(method.equals(“one“)){//admin登錄
String?username?=?request.getParameter(“username“);
String?password?=?request.getParameter(“password“);
if(username?==?null||username.trim().equals(““)){
request.setAttribute(“message“?“請正確輸入用戶名!“);
request.getRequestDispatcher(sysdir+“/login.jsp“).forward(request?response);
}
else?if(password?==?null||password.trim().equals(““)){
request.setAttribute(“message“?“請輸入密碼!“);
request.getRequestDispatcher(sysdir+“/login.jsp“).forward(request?response);
}
else{
String?md5password?=?MD5.MD5(password);
String?agent?=?request.getHeader(“user-agent“);?
StringTokenizer?st?=?new?StringTokenizer(agent“;“);?
String?useros=st.nextToken();
String?loginip?=?request.getRemoteA

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-05-23?11:04??基于jsp校園二手商品交易平臺\
?????文件??????????81??2014-12-15?15:06??基于jsp校園二手商品交易平臺\readme.txt
?????目錄???????????0??2017-05-22?16:57??基于jsp校園二手商品交易平臺\代碼\
?????目錄???????????0??2017-05-22?16:57??基于jsp校園二手商品交易平臺\代碼\es\
?????文件????????1565??2012-09-17?12:50??基于jsp校園二手商品交易平臺\代碼\es\.classpath
?????目錄???????????0??2017-05-23?11:24??基于jsp校園二手商品交易平臺\代碼\es\.myeclipse\
?????文件?????????279??2014-04-03?21:58??基于jsp校園二手商品交易平臺\代碼\es\.mymetadata
?????文件????????1408??2014-06-05?13:32??基于jsp校園二手商品交易平臺\代碼\es\.project
?????目錄???????????0??2017-05-22?16:57??基于jsp校園二手商品交易平臺\代碼\es\.settings\
?????文件?????????500??2014-06-05?13:32??基于jsp校園二手商品交易平臺\代碼\es\.settings\.jsdtscope
?????文件??????????49??2014-06-05?13:32??基于jsp校園二手商品交易平臺\代碼\es\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2014-06-05?13:32??基于jsp校園二手商品交易平臺\代碼\es\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2017-05-22?16:57??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\
?????目錄???????????0??2017-05-22?16:57??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\
?????文件?????????835??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\default.jsp
?????目錄???????????0??2017-05-22?16:57??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\
?????目錄???????????0??2017-05-22?16:57??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\
?????目錄???????????0??2017-05-22?16:57??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\
?????文件????????3875??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckcontextmenu.js
?????文件????????1422??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckdocumentfragment_gecko.js
?????文件????????1728??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckdocumentfragment_ie.js
?????文件???????12153??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckdomrange.js
?????文件????????2032??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckdomrange_gecko.js
?????文件????????4460??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckdomrange_ie.js
?????文件????????7691??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckeditingarea.js
?????文件????????1517??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckelementpath.js
?????文件???????16356??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckenterkey.js
?????文件????????1414??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckevents.js
?????文件????????2980??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckicon.js
?????文件????????1965??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckiecleanup.js
?????文件????????1776??2012-04-12?20:34??基于jsp校園二手商品交易平臺\代碼\es\WebRoot\FCKeditor\editor\_source\classes\fckimagepreloader.js
............此處省略776個文件信息

評論

共有 條評論