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

  • 大小: 1.45MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-10-21
  • 語言: Java
  • 標簽: jsp??源友??

資源簡介

科研管理包括機構管理,人員管理,項目管理,成果管理,科研考核,各級用戶的使用權限也需要靈活設置和修改。 科研機構包括院系所,重點研究基地,研究機構。所有科研項目,科研人員,科研項目都必須歸相應的科研機構管理。 科研人員指從事科研工作的老師,科研工作的管理員,記錄人員的工號,姓名,年齡,性別,職稱,學科方向,聯(lián)系方式。 科研項目包括項目名稱,項目性質,項目級別,項目成員,項目經(jīng)費。 科研成果包括科研論文,著作,專利。 科研考核包括根據(jù)科研項目,科研成果,計算個科研機構中科研人員的排名。

資源截圖

代碼片段和文件信息

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(“editpwd“)){//admin?edit?password
String?username2?=?(String)session.getAttribute(“user“);
if(username2?==?null){
request.getRequestDispatcher(“error.jsp“).forward(request?response);
}
else{
String?oldpwd?=?MD5.MD5(request.getParameter(“oldpwd“).trim());
String?newpwd?=?MD5.MD5(request.getParameter(“newpwd“).trim());
String?username?=?(String)session.getAttribute(“user“);
int?flag?=?loginbean.editPassword(username?oldpwd?newpwd);
switch?(flag){
case?Constant.SUCCESS:
request.setAttribute(“message“?“密碼修改成功!“);
request.getRequestDispatcher(sysdir+“/system/editpwd.jsp“).forward(request?response);
break;
case?Constant.PASSWORD_ERROR:
request.setAttribute(“message“?

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

?????文件????????552??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\.classpath

?????文件????????285??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\.mymetadata

?????文件???????1222??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\.project

?????文件???????9685??2009-10-29?00:48??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\action\AdminServlet.java

?????文件??????10474??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\action\GxkyServlet.java

?????文件???????7479??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\action\PersonServlet.java

?????文件???????7093??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\action\SystemServlet.java

?????文件???????7950??2009-10-29?00:02??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\bean\AdminBean.java

?????文件??????16251??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\bean\GxkyBean.java

?????文件??????15728??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\bean\SiteBean.java

?????文件???????7604??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\bean\SystemBean.java

?????文件????????318??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\util\CheckCode.java

?????文件???????1838??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\util\Common.java

?????文件????????533??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\util\Constant.java

?????文件???????2761??2009-10-28?23:21??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\util\DBO.java

?????文件????????650??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\util\Filter.java

?????文件????????792??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\util\MD5.java

?????文件???????7007??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\util\SmartFile.java

?????文件???????1614??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\util\SmartFiles.java

?????文件???????1980??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\util\SmartRequest.java

?????文件??????27350??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\util\SmartUpload.java

?????文件????????147??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\src\com\util\SmartUploadException.java

?????文件???????4166??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\WebRoot\admin\gxky\addhj.jsp

?????文件???????4154??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\WebRoot\admin\gxky\addlw.jsp

?????文件???????3102??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\WebRoot\admin\gxky\addqk.jsp

?????文件???????5628??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\WebRoot\admin\gxky\addry.jsp

?????文件???????2000??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\WebRoot\admin\gxky\chushihua.jsp

?????文件???????2935??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\WebRoot\admin\gxky\huojiang.jsp

?????文件???????3510??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\WebRoot\admin\gxky\kyf.jsp

?????文件???????2937??2009-10-28?23:15??高校科研管理系統(tǒng)的設計與實現(xiàn)\Gxky\WebRoot\admin\gxky\lunwen.jsp

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

評論

共有 條評論