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

資源簡介

系統(tǒng)采用JSP+ SQL+TOMCAT以B/S模式開發(fā)。系統(tǒng)主要實現(xiàn)了新房及二手房信息的發(fā)布,用戶需求信息的發(fā)布、以及給用戶提供一個房產(chǎn)信息的查詢功能、和用戶權限管理功能、房屋信息管理功能、留言反饋功能以及用戶給各個新房供應信息評價功能

資源截圖

代碼片段和文件信息

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

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

?????文件????8438272??2015-03-20?15:26??021JSP二手房產(chǎn)系統(tǒng)\JSP二手房產(chǎn)系統(tǒng)錄像.avi

?????文件????????709??2008-04-02?21:14??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\.classpath

?????文件????????282??2009-08-01?20:48??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\.mymetadata

?????文件???????1221??2008-04-02?21:16??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\.project

?????文件??????10175??2008-04-15?12:35??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\src\com\action\AdminServlet.java

?????文件???????6522??2008-04-02?21:13??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\src\com\action\MemberManageServlet.java

?????文件???????7947??2008-04-02?23:26??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\src\com\bean\AdminBean.java

?????文件??????13935??2008-04-02?23:25??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\src\com\bean\NewsBean.java

?????文件????????318??2008-04-02?21:13??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\src\com\util\CheckCode.java

?????文件???????1838??2008-04-02?21:13??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\src\com\util\Common.java

?????文件????????533??2008-04-02?21:13??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\src\com\util\Constant.java

?????文件???????2505??2008-04-02?21:16??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\src\com\util\DBO.java

?????文件????????650??2008-04-02?21:13??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\src\com\util\Filter.java

?????文件????????836??2008-04-02?21:13??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\src\com\util\Log.java

?????文件?????????61??2014-02-27?17:03??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\admin\index.jsp

?????文件?????????88??2013-03-29?12:10??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\admin\login.jsp

?????文件???????4375??2008-04-03?00:11??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\admin\tj\fw.jsp

?????文件???????4376??2008-04-03?00:12??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\admin\tj\fw2.jsp

?????文件???????4373??2008-04-03?00:14??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\admin\tj\fw3.jsp

?????文件???????4374??2008-04-03?00:13??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\admin\tj\fw4.jsp

?????文件???????3191??2008-04-03?01:12??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\admin\tj\xszj.jsp

?????文件???????4370??2008-04-03?02:45??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\buy.jsp

?????文件???????4420??2008-04-03?02:01??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\buyinfo.jsp

?????文件????????947??2008-04-02?21:14??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\error.jsp

?????文件????????835??2008-04-02?21:14??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\FCKeditor\default.jsp

?????文件????????236??2008-04-02?21:14??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\FCKeditor\editor\css\behaviors\disablehandles.htc

?????文件????????822??2008-04-02?21:14??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\FCKeditor\editor\css\behaviors\showtableborders.htc

?????文件???????2040??2008-04-02?21:14??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\FCKeditor\editor\css\fck_editorarea.css

?????文件???????2549??2008-04-02?21:14??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\FCKeditor\editor\css\fck_internal.css

?????文件???????1514??2008-04-02?21:14??021JSP二手房產(chǎn)系統(tǒng)\二手房\二手房\Esf\WebRoot\FCKeditor\editor\css\fck_showtableborders_gecko.css

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

評論

共有 條評論

相關資源