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

  • 大小: 10.15MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2024-02-04
  • 語言: Java
  • 標簽:

資源簡介

前臺,后臺兩部份,電子商務(wù)類網(wǎng)站 前臺主要使用JSP作為開發(fā)語言,后臺使用SqlServer作為數(shù)據(jù)庫管理系統(tǒng),開發(fā)環(huán)境是MyEclipse,服務(wù)器采用tomcat

資源截圖

代碼片段和文件信息

package?com.action;

import?java.util.List;
import?java.util.Map;

import?org.apache.struts2.ServletActionContext;

import?com.dao.TAdminDAO;
import?com.model.TAdmin;
import?com.opensymphony.xwork2.ActionSupport;
import?com.util.Pagination;

public?class?adminAction?extends?ActionSupport
{
private?int?userId;
private?String?userName;
private?String?userPw;
?
private?String?message;
private?String?path;

private?int?index=1;

private?TAdminDAO?adminDAO;


public?String?adminAdd()
{
TAdmin?admin=new?TAdmin();
admin.setUserName(userName);
admin.setUserPw(userPw);
adminDAO.save(admin);
this.setMessage(“操作成功“);
this.setPath(“adminManage.action“);
return?“succeed“;
}



public?String?adminManage()
{
List?adminList=adminDAO.findAll();
Map?request=(Map)ServletActionContext.getContext().get(“request“);
request.put(“adminList“?adminList);
return?ActionSupport.SUCCESS;
}

public?String?adminManageFenye()
{
List?adminList=adminDAO.findAll();
int?pageSize=3;
int?fromIndex?=?(index?-?1)?*?pageSize;
int?toIndex?=?Math.min(fromIndex?+?pageSize?adminList.size());
List?adminListFenye?=?adminList.subList(fromIndex?toIndex);


????????Pagination?p?=?new?Pagination();//創(chuàng)建?分頁對象
????????p.setIndex(index);//設(shè)置頁數(shù)
????????p.setPageSize(pageSize);
????????p.setTotle(adminList.size());//設(shè)置總共的條數(shù)
????????p.setData(adminListFenye);//設(shè)置數(shù)據(jù)
????????p.setPath(“adminManageFenye.action?“);//跳轉(zhuǎn)的路徑

Map?request=(Map)ServletActionContext.getContext().get(“request“);
request.put(“page“?p);
return?ActionSupport.SUCCESS;
}

public?String?adminDel()
{
adminDAO.delete(adminDAO.findById(userId));
this.setMessage(“刪除成功“);
this.setPath(“adminManage.action“);
return?“succeed“;
}



public?TAdminDAO?getAdminDAO()
{
return?adminDAO;
}

public?void?setAdminDAO(TAdminDAO?adminDAO)
{
this.adminDAO?=?adminDAO;
}

public?String?getMessage()
{
return?message;
}

public?int?getIndex()
{
return?index;
}



public?void?setIndex(int?index)
{
this.index?=?index;
}



public?void?setMessage(String?message)
{
this.message?=?message;
}

public?String?getPath()
{
return?path;
}

public?void?setPath(String?path)
{
this.path?=?path;
}

public?int?getUserId()
{
return?userId;
}

public?void?setUserId(int?userId)
{
this.userId?=?userId;
}

public?String?getUserName()
{
return?userName;
}

public?void?setUserName(String?userName)
{
this.userName?=?userName;
}

public?String?getUserPw()
{
return?userPw;
}

public?void?setUserPw(String?userPw)
{
this.userPw?=?userPw;
}
?
}

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

?????文件????1048576??2014-05-11?18:20??303JSP服裝銷售系統(tǒng)\db_shangcheng_Data.MDF

?????文件????1048576??2014-05-11?18:20??303JSP服裝銷售系統(tǒng)\db_shangcheng_Log.LDF

?????文件????5090411??2012-07-29?09:34??303JSP服裝銷售系統(tǒng)\JSP出租車管理系統(tǒng)錄像.exe

?????文件???????5256??2012-07-29?08:41??303JSP服裝銷售系統(tǒng)\wlgw\.classpath

?????文件????????527??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\.myhibernatedata

?????文件????????285??2012-07-29?08:35??303JSP服裝銷售系統(tǒng)\wlgw\.mymetadata

?????文件???????1632??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\.project

?????文件????????330??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\.settings\org.eclipse.jdt.core.prefs

?????文件????????273??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\.springBeans

?????文件???????2785??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\src\com\action\adminAction.java

?????文件???????2189??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\src\com\action\indexAction.java

?????文件???????3980??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\src\com\dao\TAdminDAO.java

?????文件???????4475??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\src\com\dao\TOrderDAO.java

?????文件???????1805??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\src\com\service\cartService.java

?????文件???????1387??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\src\com\util\Cart.java

?????文件???????3526??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\src\struts.properties

?????文件???????8705??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\src\struts.xml

?????文件?????????61??2014-03-05?10:30??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\admin\index.jsp

?????文件?????????88??2013-03-29?12:10??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\admin\login.jsp

?????文件???????4924??2012-07-29?08:51??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\admin\menu.jsp

?????文件???????2600??2012-07-29?08:39??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\admin\top.jsp

?????文件????????802??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\common\add_success.jsp

?????文件????????817??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\common\del_success.jsp

?????文件????????955??2012-07-29?08:38??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\common\succ.jsp

?????文件????????731??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\common\succeed.jsp

?????文件????????805??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\common\update_success.jsp

?????文件???????5008??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\css\base.css

?????文件????????795??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\css\dtree.css

?????文件???????8826??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\css\layout.css

?????文件???????2684??2012-04-01?23:09??303JSP服裝銷售系統(tǒng)\wlgw\WebRoot\css\woncore.css

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

評論

共有 條評論