package com.v512.ffff.action;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.v512.ffff.model.Ffff;
import com.v512.ffff.service.FfffManager;
public class FfffAction extends ActionSupport {
private static final long serialVersionUID = -3393263455882290476L;
private FfffManager ffffManager;
private Ffff ffff;
private List eee;
private String id;
public List getEee() {
return eee;
}
public void setEee(List eee) {
this.eee = eee;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Ffff getFfff() {
return ffff;
}
public void setFfff(Ffff ffff) {
this.ffff = ffff;
}
public void setFfffManager(FfffManager ffffManager) {
this.ffffManager = ffffManager;
}
public String insert(){
ffffManager.insertFfff(ffff);
return SUCCESS;
}
public String serach(){
List<Ffff> result=ffffManager.findall();
ServletActionContext.getPageContext().setAttribute("serarch",result );
return SUCCESS;
}
public String findFfff(){
this.ffffManager.findFfff(id);
return SUCCESS;
}
public String userEdit() throws Exception {
ffff=this.ffffManager.findFfff(id);
return SUCCESS;
}
public String deleteFfff(){
ffff=(Ffff)this.ffffManager.findFfff(id);
this.ffffManager.deleteFfff(ffff);
return SUCCESS;
}
public String update(){
this.ffffManager.updateFfff(ffff);
return SUCCESS;
}
public String execute() throws Exception {
HttpServletRequest re=ServletActionContext.getRequest();
HttpSession session=re.getSession();
List l=new ArrayList();
l=this.ffffManager.findall();
if(session.getAttribute("jjj")!=null){
session.removeAttribute("jjj");
session.setAttribute("jjj", l);
}else{
session.setAttribute("jjj", l);
}
eee=l;
//ActionContext.getContext().getSession().put("dd", dd);
return SUCCESS;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
SSH2整合jasperReports生成PDF报表
共143个文件
jar:103个
java:8个
class:8个
5星 · 超过95%的资源 需积分: 16 125 下载量 173 浏览量
2012-04-16
01:11:42
上传
评论 1
收藏 40.33MB RAR 举报
温馨提示
本程序算不上大项目,是本人自己做的。只是完成了大项目里的某个基本技术,如:整合SSH2 整合jasperReports生成pdf报表。用的人请根据映射文件在oracle里建一个用户表就行了。改一下配置文件里的数据库密码。
资源推荐
资源详情
资源评论
收起资源包目录
SSH2整合jasperReports生成PDF报表 (143个子文件)
FfffAction.class 3KB
LoginAction.class 2KB
FfffDaoHibernate.class 2KB
JjjAction.class 2KB
FfffManagerImpl.class 2KB
Ffff.class 1KB
FfffManager.class 564B
Ffffdao.class 559B
.classpath 9KB
org.eclipse.wst.jsdt.ui.superType.container 49B
groovy-all-1.7.5.jar 5.23MB
jasperreports-4.5.1.jar 3.29MB
spring-2.5.5.jar 2.81MB
hibernate3.jar 2.21MB
poi-3.7-20101029.jar 1.6MB
com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar 1.57MB
xwork-core-2.1.6.jar 1.49MB
aspectjweaver.jar 1.47MB
ojdbc14.jar 1.47MB
ant-1.7.1.jar 1.26MB
jfreechart-1.0.6.jar 1.16MB
iText-2.1.7.jar 1.08MB
iText-2.1.3.jar 1.02MB
poi-3.0.1.jar 888KB
freemarker-2.3.15.jar 859KB
freemarker.jar 852KB
struts2-core-2.1.8.1.jar 738KB
jxl.jar 706KB
org.springframework.context-3.0.1.RELEASE-A.jar 642KB
struts.jar 537KB
org.springframework.beans-3.0.1.RELEASE-A.jar 535KB
org.springframework.web.struts-3.0.1.RELEASE-A.jar 524KB
spring-beans.jar 477KB
spring-context.jar 466KB
javassist.jar 460KB
antlr-2.7.6.jar 433KB
spring-webmvc.jar 393KB
org.springframework.web.servlet-3.0.1.RELEASE-A.jar 389KB
com.springsource.org.apache.log4j-1.2.15.jar 387KB
velocity-1.5.jar 383KB
log4j-1.2.15.jar 383KB
spring-orm.jar 369KB
org.springframework.jdbc-3.0.1.RELEASE-A.jar 369KB
org.springframework.web-3.0.1.RELEASE-A.jar 352KB
org.springframework.core-3.0.1.RELEASE-A.jar 347KB
spring-jdbc.jar 328KB
org.springframework.orm-3.0.1.RELEASE-A.jar 324KB
iTextAsian.jar 322KB
com.springsource.net.sf.cglib-2.2.0.jar 319KB
spring-aop.jar 318KB
cglib-nodep-2.1_3.jar 317KB
org.springframework.aop-3.0.1.RELEASE-A.jar 313KB
dom4j-1.6.1.jar 307KB
com.springsource.org.apache.commons.httpclient-3.1.0.jar 301KB
commons-httpclient.jar 298KB
spring-core.jar 279KB
cglib-2.1.3.jar 276KB
hibernate-annotations.jar 274KB
com.springsource.org.codehaus.jackson.mapper-1.0.0.jar 264KB
ognl-2.7.3.jar 234KB
spring-tx.jar 226KB
org.springframework.transaction-3.0.1.RELEASE-A.jar 223KB
jaxen-1.1-beta-7.jar 222KB
ehcache-1.2.3.jar 203KB
commons-digester-2.1.jar 192KB
spring-web.jar 190KB
commons-collections-2.1.1.jar 171KB
org.springframework.web.portlet-3.0.1.RELEASE-A.jar 169KB
org.springframework.expression-3.0.1.RELEASE-A.jar 152KB
spring-webmvc-portlet.jar 146KB
paoding-analysis.jar 123KB
commons-dbcp.jar 119KB
hibernate-entitymanager.jar 116KB
velocity-tools-view-1.4.jar 113KB
aspectjrt.jar 112KB
jaas.jar 102KB
commons-io-1.3.2.jar 86KB
commons-io.jar 82KB
persistence.jar 69KB
hibernate-commons-annotations.jar 65KB
commons-pool.jar 61KB
com.springsource.org.apache.commons.logging-1.1.1.jar 60KB
hibernate-validator.jar 60KB
commons-logging.jar 59KB
commons-fileupload-1.2.1.jar 56KB
org.springframework.oxm-3.0.1.RELEASE-A.jar 56KB
com.springsource.org.apache.commons.fileupload-1.2.0.jar 53KB
org.springframework.asm-3.0.1.RELEASE-A.jar 52KB
commons-fileupload.jar 52KB
ejb3-persistence.jar 52KB
commons-codec.jar 46KB
commons-logging-1.0.4.jar 37KB
spring-webmvc-struts.jar 36KB
commons-attributes-api.jar 35KB
asm-util-2.2.3.jar 34KB
org.springframework.aspects-3.0.1.RELEASE-A.jar 29KB
commons-attributes-compiler.jar 29KB
asm.jar 26KB
spring-aspects.jar 20KB
struts2-jasperreports-plugin-2.1.8.1.jar 17KB
共 143 条
- 1
- 2
bah3740230
- 粉丝: 0
- 资源: 19
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
前往页