資源簡介
此后臺管理系統采用了SSH框架,前端采用Struts2的S標簽進行表單提交,采用JS進行簡單的輸入驗證。后臺與mysql數據庫進行連接,dao-service-action都是一一對應,便于理解。此后臺管理系統,一共有三個表,用戶注冊表,部門表以及員工表。主要功能有用戶的登錄與注冊,部門的增查,員工的增刪改查。還采用了session以及request。這是一個完整的,能夠在ecplise直接運行的demo。
代碼片段和文件信息
package?action;
import?java.util.List;
import?com.opensymphony.xwork2.Action;
import?com.opensymphony.xwork2.ActionContext;
import?model.Dept;
import?service.Serviceall;
public?class?allaction?implements?Action{
private?Serviceall?serviceall;
public?Serviceall?getServiceall()?{
return?serviceall;
}
public?void?setServiceall(Serviceall?serviceall)?{
this.serviceall?=?serviceall;
}
public?String?execute()?throws?Exception{
List?hh?=?serviceall.findall();
ActionContext.getContext().put(“list“?hh);
return?SUCCESS;
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-03-23?08:48??S2SH\
?????目錄???????????0??2019-03-23?08:47??S2SH\S2SH\
?????文件?????????841??2019-03-14?20:44??S2SH\S2SH\.classpath
?????文件?????????904??2019-03-14?20:44??S2SH\S2SH\.project
?????目錄???????????0??2019-03-23?08:47??S2SH\S2SH\.settings\
?????文件?????????567??2019-03-14?20:44??S2SH\S2SH\.settings\.jsdtscope
?????文件?????????364??2019-03-14?20:44??S2SH\S2SH\.settings\org.eclipse.jdt.core.prefs
?????文件?????????464??2019-03-14?20:44??S2SH\S2SH\.settings\org.eclipse.wst.common.component
?????文件?????????345??2019-03-14?20:44??S2SH\S2SH\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件??????????49??2019-03-14?20:44??S2SH\S2SH\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2019-03-14?20:44??S2SH\S2SH\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2019-03-23?08:47??S2SH\S2SH\WebContent\
?????目錄???????????0??2019-03-23?08:47??S2SH\S2SH\WebContent\me
?????文件??????????39??2019-03-14?20:44??S2SH\S2SH\WebContent\me
?????目錄???????????0??2019-03-23?08:47??S2SH\S2SH\WebContent\WEB-INF\
?????文件????????7868??2019-03-23?08:35??S2SH\S2SH\WebContent\WEB-INF\applicationContext.xm
?????目錄???????????0??2019-03-23?08:47??S2SH\S2SH\WebContent\WEB-INF\lib\
?????文件??????443432??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\antlr-2.7.6.jar
?????文件?????1675810??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\aspectjweaver.jar
?????文件??????617643??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\com.springsource.com.mchange.v2.c3p0-0.9.1.2.jar
?????文件??????326877??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\com.springsource.net.sf.cglib-2.2.0.jar
?????文件????????4615??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\com.springsource.org.aopalliance-1.0.0.jar
?????文件???????61464??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\com.springsource.org.apache.commons.logging-1.1.1.jar
?????文件??????559366??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\commons-collections-3.1.jar
?????文件???????57779??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\commons-fileupload-1.2.1.jar
?????文件???????87776??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\commons-io-1.3.2.jar
?????文件??????313898??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\dom4j-1.6.1.jar
?????文件??????880993??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\freemarker-2.3.16.jar
?????文件??????100884??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\hibernate-jpa-2.0-api-1.0.0.Final.jar
?????文件?????4089101??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\hibernate3.jar
?????文件??????633312??2012-04-17?10:23??S2SH\S2SH\WebContent\WEB-INF\lib\javassist-3.12.0.GA.jar
............此處省略163個文件信息
評論
共有 條評論