package prj.ssm.action;
import com.opensymphony.xwork2.Action;
import prj.ssm.core.Ichecklogin;
public class loginaction implements Action {
private String username;
private String password;
private Ichecklogin checkl;
public Ichecklogin getCheckl() {
return checkl;
}
public void setCheckl(Ichecklogin checkl) {
this.checkl = checkl;
}
public String getUsername()
{
return username;
}
public void setUsername(String username)
{
this.username=username;
}
public String getPassword()
{
return password;
}
public void setPassword(String password)
{
this.password=password;
}
@Override
public String execute() throws Exception {
// TODO Auto-generated method stub
if(this.checkl.valid(getUsername(), getPassword()))
{
return "success";
}
else
{
return "error";
}
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
struts_spring_mybatis 登录例子
共76个文件
jar:36个
xml:9个
class:7个
4星 · 超过85%的资源 需积分: 10 41 下载量 107 浏览量
2012-06-06
13:45:25
上传
评论
收藏 9.95MB RAR 举报
温馨提示
struts_spring_mybatis登录小例子,自己写的,好用,就是框架之间的用法。建立个表就行。tomcat 6.0 jdk6.0 ecplise
资源推荐
资源详情
资源评论
收起资源包目录
struts_spring_mybatis.rar (76个子文件)
struts_spring_mybatis
META-INF
MANIFEST.MF 892B
WebContent
toplogin.jsp 415B
META-INF
MANIFEST.MF 39B
WEB-INF
web.xml 1KB
applicationContext-core.xml 3KB
lib
org.springframework.test-3.0.5.RELEASE.jar 200KB
org.springframework.spring-library-3.0.5.RELEASE.libd 1KB
org.springframework.web.struts-3.0.5.RELEASE.jar 31KB
commons-logging-1.0.4.jar 37KB
org.springframework.transaction-3.0.5.RELEASE.jar 226KB
c3p0-0.9.1.2.jar 596KB
javassist-3.12.0.GA.jar 618KB
org.springframework.context-3.0.5.RELEASE.jar 653KB
org.springframework.instrument.tomcat-3.0.5.RELEASE.jar 6KB
proxool-0.9.0RC3.jar 430KB
org.springframework.oxm-3.0.5.RELEASE.jar 60KB
org.springframework.beans-3.0.5.RELEASE.jar 542KB
mysql-connector-java-5.1.13-bin.jar 750KB
mybatis-3.0.2.jar 600KB
org.springframework.expression-3.0.5.RELEASE.jar 166KB
probepackage.jar 170KB
xwork-core-2.2.1.jar 997KB
org.springframework.asm-3.0.5.RELEASE.jar 52KB
org.springframework.web.servlet-3.0.5.RELEASE.jar 409KB
org.springframework.web-3.0.5.RELEASE.jar 386KB
org.springframework.jdbc-3.0.5.RELEASE.jar 377KB
struts2-spring-plugin-2.2.1.jar 21KB
freemarker-2.3.16.jar 860KB
mybatis-spring-1.0.0-RC2.jar 34KB
org.springframework.core-3.0.5.RELEASE.jar 373KB
org.springframework.web.portlet-3.0.5.RELEASE.jar 171KB
commons-fileupload-1.2.1.jar 56KB
org.springframework.jms-3.0.5.RELEASE.jar 181KB
ognl-3.0.jar 224KB
org.springframework.aop-3.0.5.RELEASE.jar 314KB
org.springframework.instrument-3.0.5.RELEASE.jar 2KB
struts2-core-2.2.1.jar 755KB
commons-io-1.3.2.jar 86KB
db.jar 591KB
org.springframework.orm-3.0.5.RELEASE.jar 326KB
org.springframework.context.support-3.0.5.RELEASE.jar 99KB
org.springframework.aspects-3.0.5.RELEASE.jar 35KB
myview
main.jsp 370B
login.jsp 538B
.settings
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.project.facet.core.xml 345B
org.eclipse.core.resources.prefs 148B
org.eclipse.wst.common.component 517B
org.eclipse.wst.jsdt.ui.superType.container 49B
.jsdtscope 503B
org.eclipse.jdt.core.prefs 395B
src
database.properties 370B
struts.xml 471B
myBatis-config.xml 267B
prj
ssm
core
Ichecklogin.java 109B
checklogincore.java 682B
dao
User.java 358B
Dao.java 108B
Dao.xml 440B
action
loginaction.java 845B
service
IDaoService.java 121B
DaoSevice.java 371B
.project 1KB
build.properties 898B
.classpath 2KB
build
classes
database.properties 370B
struts.xml 471B
myBatis-config.xml 267B
prj
ssm
core
checklogincore.class 1KB
Ichecklogin.class 174B
dao
Dao.class 158B
User.class 717B
Dao.xml 440B
action
loginaction.class 1KB
service
IDaoService.class 178B
DaoSevice.class 750B
共 76 条
- 1
资源评论
- zhushengshuang2013-01-18运行起来,还没怎明白原理,初学者
- 阿亮说技术2012-09-10没用啊,又跑不起来,什么都没看以呢
- robotking2014-08-04学习一下基本用法。
- hu1175746412013-04-27试了下,运行不起来额
- hht136995597332012-11-30运行不起来额
waiwai1015
- 粉丝: 66
- 资源: 35
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功