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

資源簡介

spring+struts2+mybatis整合的一個小工程,可以用來學習框架搭建,里面是工程的原代碼,可以直接導入到eclipse中。

資源截圖

代碼片段和文件信息

package?com.frame.action;

import?java.util.HashMap;
import?java.util.Map;

import?org.springframework.beans.factory.annotation.Autowired;
import?org.springframework.context.annotation.Scope;
import?org.springframework.stereotype.Controller;

import?com.frame.service.DemoService;
import?com.opensymphony.xwork2.ActionSupport;

@Controller
@Scope(“prototype“)
public?class?DemoAction?extends?ActionSupport?{
private?static?final?long?serialVersionUID?=?-3617424650852024180L;
@Autowired
private?DemoService?demoService;
private?String?name;
private?String?gender;
private?int?age;

public?void?insert()?{
System.out.println(“開始執行插入數據。。。“);
Map?map?=?new?HashMap();
map.put(“name“?name);
map.put(“gender“?gender);
map.put(“age“?age);
this.demoService.insert(map);
System.out.println(“插入數據成功:“+map);
}

public?String?getName()?{
return?name;
}
public?void?setName(String?name)?{
this.name?=?name;
}
public?String?getGender()?{
return?gender;
}
public?void?setGender(String?gender)?{
this.gender?=?gender;
}
public?int?getAge()?{
return?age;
}
public?void?setAge(int?age)?{
this.age?=?age;
}

}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-12-04?19:57??zframe\
?????文件?????????680??2013-12-05?20:23??zframe\.classpath
?????文件????????1331??2013-12-04?20:05??zframe\.project
?????目錄???????????0??2013-12-04?19:57??zframe\.settings\
?????文件?????????522??2013-12-04?19:57??zframe\.settings\.jsdtscope
?????文件?????????165??2013-12-04?19:57??zframe\.settings\com.genuitec.runtime.libraries.xml
?????文件?????????364??2013-12-04?19:57??zframe\.settings\org.eclipse.jdt.core.prefs
?????文件?????????469??2013-12-04?19:57??zframe\.settings\org.eclipse.wst.common.component
?????文件?????????361??2013-12-04?19:57??zframe\.settings\org.eclipse.wst.common.project.facet.core.xml
?????文件??????????49??2013-12-04?19:57??zframe\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2013-12-04?19:57??zframe\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2013-12-04?19:57??zframe\build\
?????目錄???????????0??2013-12-07?15:33??zframe\build\classes\
?????目錄???????????0??2013-12-07?15:33??zframe\build\classes\com\
?????目錄???????????0??2013-12-07?15:33??zframe\build\classes\com\frame\
?????目錄???????????0??2013-12-07?15:33??zframe\build\classes\com\frame\action\
?????文件????????2092??2013-12-07?15:33??zframe\build\classes\com\frame\action\DemoAction.class
?????文件????????1472??2013-12-07?15:33??zframe\build\classes\com\frame\action\HelloAction.class
?????目錄???????????0??2013-12-07?15:33??zframe\build\classes\com\frame\dao\
?????文件?????????298??2013-12-07?15:33??zframe\build\classes\com\frame\dao\DemoDao.class
?????文件?????????455??2013-12-05?21:31??zframe\build\classes\com\frame\dao\demoMapper.xml
?????目錄???????????0??2013-12-07?15:33??zframe\build\classes\com\frame\service\
?????文件?????????159??2013-12-07?15:33??zframe\build\classes\com\frame\service\DemoService.class
?????目錄???????????0??2013-12-07?15:33??zframe\build\classes\com\frame\service\impl\
?????文件?????????733??2013-12-07?15:33??zframe\build\classes\com\frame\service\impl\DemoServiceImpl.class
?????文件?????????714??2013-12-07?13:59??zframe\build\classes\log4j.properties
?????文件????????1042??2013-12-07?14:14??zframe\build\classes\struts.xml
?????目錄???????????0??2013-12-07?13:53??zframe\src\
?????目錄???????????0??2013-12-05?19:46??zframe\src\com\
?????目錄???????????0??2013-12-05?21:07??zframe\src\com\frame\
?????目錄???????????0??2013-12-05?21:06??zframe\src\com\frame\action\
............此處省略49個文件信息

評論

共有 條評論