/**
*
*/
package com.crud;
/**
@author: 如约而至 @time:2017年10月27日 下午9:43:58
*******************************************************************
@说明:
*******************************************************************/
public class User {
private Integer id;
private String username;
private String password;
private String sex;
private Integer age;
private String tel;
private String email;
private String qq;
/**
* @return the id
*/
public Integer getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(Integer id) {
this.id = id;
}
/**
* @return the username
*/
public String getUsername() {
return username;
}
/**
* @param username the username to set
*/
public void setUsername(String username) {
this.username = username;
}
/**
* @return the password
*/
public String getPassword() {
return password;
}
/**
* @param password the password to set
*/
public void setPassword(String password) {
this.password = password;
}
/**
* @return the sex
*/
public String getSex() {
return sex;
}
/**
* @param sex the sex to set
*/
public void setSex(String sex) {
this.sex = sex;
}
/**
* @return the age
*/
public Integer getAge() {
return age;
}
/**
* @param age the age to set
*/
public void setAge(Integer age) {
this.age = age;
}
/**
* @return the tel
*/
public String getTel() {
return tel;
}
/**
* @param tel the tel to set
*/
public void setTel(String tel) {
this.tel = tel;
}
/**
* @return the email
*/
public String getEmail() {
return email;
}
/**
* @param email the email to set
*/
public void setEmail(String email) {
this.email = email;
}
/**
* @return the qq
*/
public String getQq() {
return qq;
}
/**
* @param qq the qq to set
*/
public void setQq(String qq) {
this.qq = qq;
}
/* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
return "User [id=" + id + ", username=" + username + ", password="
+ password + ", sex=" + sex + ", age=" + age + ", tel=" + tel
+ ", email=" + email + ", qq=" + qq + "]";
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
好吧。这个功能完全是我自己写的 不想分享的 写这不容易的,但是为了积分,还是分享了吧。。就是利用JQuery的Ajax,实现增删改查,后台用Struts2+HIbernate3框架,MySQL数据库。附带sql文件。绝对正常运行!!适合基础的朋友提示能力。欢迎下载。
资源推荐
资源详情
资源评论
收起资源包目录
TestAJAX.rar (73个子文件)
test.sql 2KB
TestAJAX
WebContent
tes.jsp 1KB
META-INF
MANIFEST.MF 39B
WEB-INF
web.xml 701B
a
index.html 3KB
js
jquery.js 94KB
index.js 5KB
npm.js 484B
bootstrap.min.js 36KB
jquery-3.0.0.min.js 84KB
jquery-1.8.3.min.js 91KB
menu.js 312B
jquery.filer.min.js 19KB
bootstrap.js 68KB
jquery-2.1.1.min.js 82KB
.project 966B
lib
mysql-connector-java-5.1.25.jar 829KB
commons-collections-3.1.jar 546KB
ehcache-1.5.0.jar 258KB
hibernate-jpa-2.0-api-1.0.0.Final.jar 99KB
dom4j-1.6.1.jar 307KB
javassist-3.12.0.GA.jar 618KB
commons-beanutils-1.7.0.jar 184KB
struts2-json-plugin-2.3.4.jar 69KB
xwork-core-2.3.4.jar 614KB
javassist-3.11.0.GA.jar 600KB
asm-tree-3.3.jar 21KB
commons-io-2.0.1.jar 156KB
freemarker-2.3.19.jar 909KB
asm-3.3.jar 43KB
ezmorph-1.0.3.jar 76KB
slf4j-api-1.6.1.jar 25KB
struts2-core-2.3.4.jar 765KB
ognl-3.0.5.jar 222KB
commons-logging.jar 44KB
commons-fileupload-1.2.2.jar 58KB
asm-commons-3.3.jar 37KB
commons-lang-2.5.jar 273KB
jta-1.1.jar 11KB
json-lib-2.4-jdk15.jar 155KB
commons-lang3-3.1.jar 308KB
antlr-2.7.6.jar 433KB
c3p0-0.9.1.jar 594KB
hibernate3.jar 3.9MB
curd
index.jsp 7KB
js
curd.js 488B
jquery-3.2.1.js 262KB
.settings
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.project.facet.core.xml 345B
org.eclipse.wst.common.component 476B
org.eclipse.wst.jsdt.ui.superType.container 49B
.jsdtscope 503B
org.eclipse.jdt.core.prefs 364B
src
com
test
json
User.java 804B
JsonAction.java 2KB
crud
User.hbm.xml 559B
User.java 2KB
CurdAction.java 2KB
CrudDAO.java 2KB
HibernateUtils.java 1KB
struts.xml 671B
hibernate.cfg.xml 639B
.project 1KB
.classpath 919B
build
classes
com
test
json
User.class 721B
JsonAction.class 2KB
crud
User.hbm.xml 559B
User.class 2KB
HibernateUtils.class 1KB
CrudDAO.class 2KB
CurdAction.class 2KB
struts.xml 671B
hibernate.cfg.xml 639B
共 73 条
- 1
资源评论
qq_25479525
- 粉丝: 1
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功