資源簡介
JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)
免費獲取請關注公眾號“計算機校園角”
免費獲取請關注公眾號“計算機校園角”
代碼片段和文件信息
package?com.action;
/**
?*?網站公告
?*?@author?Administrator
?*
?*/
import?java.io.IOException;
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.AfficheBean;
import?com.bean.SystemBean;
import?com.util.Constant;
import?com.util.Filter;
public?class?AfficheServlet?extends?HttpServlet?{
/**
?*?Constructor?of?the?object.
?*/
public?AfficheServlet()?{
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);
String?sysdir?=?new?SystemBean().getDir();
HttpSession?session?=?request.getSession();
try{
String?username2?=?(String)session.getAttribute(“user“);
if(username2?==?null){
request.getRequestDispatcher(“error.jsp“).forward(request?response);
}
else{
AfficheBean?afficheBean?=?new?AfficheBean();
String?method?=?request.getParameter(“method“).trim();
if(method.equals(“addAffiche“)){//增加公告
String?title?=?Filter.escapeHTMLTags(request.getParameter(“title“).trim());
String?content?=?Filter.escapeHTMLTags(request.getParameter(“content“).trim());
String?adder?=?username2;
String?ifhide?=?Filter.escapeHTMLTags(request.getParameter(“ifhide“).trim());
int?flag?=?afficheBean.addAffiche(title?content?adder?ifhide);
if(flag?==?Constant.SUCCESS){
request.setAttribute(“message“?“操作成功!“);
request.getRequestDispatcher(sysdir+“/affiche/index.jsp“).forward(request?response);
}
else{
request.setAttribute(“message“?“系統維護中請稍后再試!“);
request.getRequestDispatcher(sysdir+“/affiche/index.jsp“).forward(
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????709??2013-12-20?11:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\.classpath
?????文件????????282??2013-12-20?10:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\.myme
?????文件???????1221??2013-12-20?18:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\.project
?????文件???????5644??2013-12-20?13:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\action\AfficheServlet.java
?????文件???????5760??2013-12-20?09:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\action\CommonServlet.java
?????文件???????7302??2013-12-20?12:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\action\GuestBookServlet.java
?????文件???????6522??2013-12-20?11:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\action\MemberManageServlet.java
?????文件???????7401??2013-12-20?09:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\action\NewsServlet.java
?????文件???????7947??2013-12-20?19:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\bean\AdminBean.java
?????文件??????12932??2013-12-20?14:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\bean\AfficheBean.java
?????文件??????10476??2013-12-20?10:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\bean\GuestBookBean.java
?????文件??????23243??2013-12-20?14:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\bean\HouseBean.java
?????文件??????11833??2013-12-20?13:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\bean\MemberBean.java
?????文件??????16718??2013-12-20?19:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\bean\MemberManageBean.java
?????文件??????13935??2013-12-20?09:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\bean\NewsBean.java
?????文件???????7604??2013-12-20?16:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\bean\SystemBean.java
?????文件????????318??2013-12-20?11:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\CheckCode.java
?????文件???????1838??2013-12-20?17:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\Common.java
?????文件????????533??2013-12-20?11:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\Constant.java
?????文件???????2505??2013-12-20?15:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\DBO.java
?????文件????????650??2013-12-20?14:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\Filter.java
?????文件????????836??2013-12-20?14:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\Log.java
?????文件????????792??2013-12-20?18:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\MD5.java
?????文件???????7007??2013-12-20?16:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\SmartFile.java
?????文件???????1614??2013-12-20?09:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\SmartFiles.java
?????文件???????1980??2013-12-20?16:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\SmartRequest.java
?????文件??????27350??2013-12-20?13:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\SmartUpload.java
?????文件????????147??2013-12-20?09:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\src\com\util\SmartUploadException.java
?????文件????????835??2013-12-20?12:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\WebRoot\admin\affiche\default.jsp
?????文件???????4057??2013-12-20?09:01??JSP+SQL房屋租賃管理信息系統JDBC(源代碼+論文+答辯PPT)\房屋租賃管理信息系統\+程序\源程序\Esf\WebRoot\admin\affiche\edit.jsp
............此處省略1511個文件信息
- 上一篇:Android項目源碼仿QQ空間的心情驛站源碼
- 下一篇:仿QQ空間源碼
評論
共有 條評論