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

資源簡介

用戶: 1.進(jìn)行注冊和登錄;對用戶的信息進(jìn)行修改 2.瀏覽新聞動態(tài),了解最新時事 3.進(jìn)行心理測試,通過登陸后,選擇感興趣的試題,進(jìn)行心理測驗(yàn),提交后,得出相對應(yīng)的結(jié)果。同時,可以對結(jié)果進(jìn)行打分,為以后同學(xué)進(jìn)行心理測試提供參考價值。 4.進(jìn)行心理咨詢。當(dāng)碰到心理問題,需要提問后,可以在網(wǎng)站上進(jìn)行留言。 5.對感興趣的文章進(jìn)行下載 6.可以搜索感興趣的信息

資源截圖

代碼片段和文件信息

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??2013-08-13?18:31??274JSP心里健康網(wǎng)\
?????文件?????2826344??2012-03-28?17:49??274JSP心里健康網(wǎng)\JSP心里健康網(wǎng)錄像.exe
?????目錄???????????0??2013-08-13?17:58??274JSP心里健康網(wǎng)\mental\
?????文件????????1495??2012-04-06?20:04??274JSP心里健康網(wǎng)\mental\.classpath
?????目錄???????????0??2013-10-20?17:02??274JSP心里健康網(wǎng)\mental\.myeclipse\
?????文件?????????291??2012-04-06?20:04??274JSP心里健康網(wǎng)\mental\.mymetadata
?????文件????????1224??2012-03-28?11:54??274JSP心里健康網(wǎng)\mental\.project
?????目錄???????????0??2013-09-11?15:04??274JSP心里健康網(wǎng)\mental\WebRoot\
?????目錄???????????0??2013-08-13?17:57??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\
?????文件?????????835??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\default.jsp
?????目錄???????????0??2013-08-13?17:58??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\
?????目錄???????????0??2013-08-13?17:57??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\
?????目錄???????????0??2013-08-13?17:57??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\
?????文件????????3875??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckcontextmenu.js
?????文件????????1422??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckdocumentfragment_gecko.js
?????文件????????1728??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckdocumentfragment_ie.js
?????文件???????12153??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckdomrange.js
?????文件????????2032??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckdomrange_gecko.js
?????文件????????4460??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckdomrange_ie.js
?????文件????????7691??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckeditingarea.js
?????文件????????1517??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckelementpath.js
?????文件???????16356??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckenterkey.js
?????文件????????1414??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckevents.js
?????文件????????2980??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckicon.js
?????文件????????1965??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckiecleanup.js
?????文件????????1776??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckimagepreloader.js
?????文件????????4292??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckkeystrokehandler.js
?????文件????????3743??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckmenublock.js
?????文件????????1560??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckmenublockpanel.js
?????文件????????4462??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckmenuitem.js
?????文件????????8389??2012-03-28?11:50??274JSP心里健康網(wǎng)\mental\WebRoot\FCKeditor\editor\_source\classes\fckpanel.js
............此處省略770個文件信息

評論

共有 條評論

相關(guān)資源