• 大小: 281KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-10
  • 语言: 数据库
  • 标签: 源代码  

资源简介

源代码 时练习项目 strut2+hibernate+spring mysql数据库

资源截图

代码片段和文件信息

package cn.anuoqi.expense.action;

import java.util.Map;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.interceptor.ApplicationAware;
import org.apache.struts2.interceptor.RequestAware;
import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.SessionAware;
import org.apache.struts2.util.ServletContextAware;

public class baseAction implements RequestAware
ServletRequestAwareSessionAware
ApplicationAwareServletContextAware{
protected Mapject> request;
protected HttpServletRequest httpRequest;
protected Mapject> session;
protected Mapject> application;
//在Action创建时自动执行
public void setRequest(Mapject> req) {
this.request = req;
}

public void setServletRequest(HttpServletRequest req) {
httpRequest = req;
}

public void setSession(Mapject> session) {
this.session = session;
}

public void setApplication(Mapject> application) {
this.application = application;
}

public void setServletContext(ServletContext arg0) {
// TODO Auto-generated method stub

}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2050-11-26 16:48  easyExpense_ko\
     文件        2915  2013-01-16 10:01  easyExpense_ko\.classpath
     目录           0  2050-11-26 16:48  easyExpense_ko\.myeclipse\
     文件         306  2013-01-16 10:01  easyExpense_ko\.mymetadata
     文件        1417  2013-01-16 10:01  easyExpense_ko\.project
     目录           0  2050-11-26 16:48  easyExpense_ko\.settings\
     文件         500  2013-01-16 10:01  easyExpense_ko\.settings\.jsdtscope
     文件         330  2013-01-16 10:01  easyExpense_ko\.settings\org.eclipse.jdt.core.prefs
     文件          49  2013-01-16 10:01  easyExpense_ko\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2013-01-16 10:01  easyExpense_ko\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2050-11-26 16:48  easyExpense_ko\src\
     文件        3568  2013-01-16 10:01  easyExpense_ko\src\applicationContext.xml
     目录           0  2050-11-26 16:48  easyExpense_ko\src\cn\
     目录           0  2050-11-26 16:48  easyExpense_ko\src\cn\anuoqi\
     目录           0  2050-11-26 16:48  easyExpense_ko\src\cn\anuoqi\expense\
     目录           0  2050-11-26 16:48  easyExpense_ko\src\cn\anuoqi\expense\action\
     目录           0  2050-11-26 16:48  easyExpense_ko\src\cn\anuoqi\expense\action\account\
     文件        1749  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\account\AddAccount.java
     文件         680  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\account\DeleteSomeone.java
     文件        1936  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\account\ListAccount.java
     文件        2441  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\account\QueryUserAccountAction.java
     文件        3067  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\account\RelationshipAction.java
     文件        1089  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\account\UserAccountMenuAction.java
     文件        1211  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\baseAction.java
     文件          47  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\db.sql
     目录           0  2050-11-26 16:48  easyExpense_ko\src\cn\anuoqi\expense\action\expensetype\
     文件         948  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\expensetype\AddTypeAction.java
     文件         937  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\expensetype\DeleteTypeAction.java
     文件         991  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\expensetype\SaveTypeAction.java
     文件        1603  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\expensetype\TypeMaintainAction.java
     文件        1256  2013-01-16 10:01  easyExpense_ko\src\cn\anuoqi\expense\action\expensetype\UpdateTypeAction.java
............此处省略200个文件信息

评论

共有 条评论