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

資源簡介

本系統采用了jsp+servlet+javabean的技術開發,數據庫是sqlserver。通過jdbc進行數據庫的連接。

資源截圖

代碼片段和文件信息

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?AdminServlet?extends?HttpServlet?{

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

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-05-10?20:50??銀行客戶關系管理系統\
?????目錄???????????0??2016-09-22?18:57??銀行客戶關系管理系統\數據庫\
?????文件?????1179648??2011-11-15?22:35??銀行客戶關系管理系統\數據庫\yhkh_Data.MDF
?????文件?????1048576??2011-11-15?22:35??銀行客戶關系管理系統\數據庫\yhkh_Log.LDF
?????目錄???????????0??2016-09-22?18:57??銀行客戶關系管理系統\程序\
?????文件?????????709??2011-05-09?10:05??銀行客戶關系管理系統\程序\.classpath
?????目錄???????????0??2016-09-22?18:58??銀行客戶關系管理系統\程序\.myeclipse\
?????文件?????????285??2011-11-15?21:32??銀行客戶關系管理系統\程序\.mymetadata
?????文件????????1410??2011-07-07?19:31??銀行客戶關系管理系統\程序\.project
?????目錄???????????0??2016-09-22?18:57??銀行客戶關系管理系統\程序\.settings\
?????文件?????????500??2011-07-07?19:31??銀行客戶關系管理系統\程序\.settings\.jsdtscope
?????文件??????????49??2011-07-07?19:31??銀行客戶關系管理系統\程序\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2011-07-07?19:31??銀行客戶關系管理系統\程序\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2016-09-22?18:57??銀行客戶關系管理系統\程序\src\
?????目錄???????????0??2016-09-22?18:57??銀行客戶關系管理系統\程序\src\com\
?????目錄???????????0??2016-09-22?18:57??銀行客戶關系管理系統\程序\src\com\action\
?????文件???????10175??2008-12-14?17:40??銀行客戶關系管理系統\程序\src\com\action\AdminServlet.java
?????文件???????10341??2010-05-22?14:34??銀行客戶關系管理系統\程序\src\com\action\ComServlet.java
?????文件????????6060??2008-12-14?17:40??銀行客戶關系管理系統\程序\src\com\action\LoginServlet.java
?????文件????????6522??2008-12-14?17:40??銀行客戶關系管理系統\程序\src\com\action\MemberManageServlet.java
?????文件???????10339??2008-12-14?17:47??銀行客戶關系管理系統\程序\src\com\action\MemberServlet.java
?????文件????????5693??2010-05-16?00:06??銀行客戶關系管理系統\程序\src\com\action\UpServlet.java
?????目錄???????????0??2016-09-22?18:57??銀行客戶關系管理系統\程序\src\com\bean\
?????文件????????7947??2008-12-14?17:40??銀行客戶關系管理系統\程序\src\com\bean\AdminBean.java
?????文件????????2157??2010-05-22?13:56??銀行客戶關系管理系統\程序\src\com\bean\ComBean.java
?????文件???????11178??2008-12-14?19:30??銀行客戶關系管理系統\程序\src\com\bean\MemberBean.java
?????文件???????16718??2008-12-14?17:40??銀行客戶關系管理系統\程序\src\com\bean\MemberManageBean.java
?????文件????????2405??2010-05-22?14:02??銀行客戶關系管理系統\程序\src\com\bean\SystemBean.java
?????目錄???????????0??2016-09-22?18:57??銀行客戶關系管理系統\程序\src\com\util\
?????文件?????????318??2008-12-14?17:40??銀行客戶關系管理系統\程序\src\com\util\CheckCode.java
?????文件????????1838??2008-12-14?17:40??銀行客戶關系管理系統\程序\src\com\util\Common.java
............此處省略207個文件信息

評論

共有 條評論