10 2014 档案
摘要:1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 dao.UserDao20 21 22 23 24 25 26 27 28 29 30 31 beforeAdvice -->32 pointcutAndAdvice33 34 35 36 38 ...
阅读全文
摘要:dao.UserDaobeforeAdvice -->pointcutAndAdvice dao.UserDao.saveUser dao.UserDao.deleteUser applicationContext-aop.xml 1 2 3 package aop; 4...
阅读全文
摘要:package entity;public class User { private String id; private String name; public String getId() { return id; } public void setId(String id) { this....
阅读全文
摘要:学生添加姓名:密码:年龄:性别:出生年月:爱好:省份:城市:地址:将前台的name都设为student.**package com.action;import java.io.IOException;import java.util.ArrayList;import java.util.List;i...
阅读全文
摘要:package com.action;import java.io.IOException;import java.util.ArrayList;import java.util.List;import java.util.Map;import javax.servlet.http.HttpServ...
阅读全文
摘要:StudentAction.javapackage com.action;import java.util.ArrayList;import java.util.List;import java.util.Map;import javax.servlet.http.HttpServletReques...
阅读全文
摘要:package com.entity;public class User { private String username; private String password; private Integer id; public String getUsername() { return use...
阅读全文
摘要:package com;import org.hibernate.Session;import org.hibernate.SessionFactory;import org.hibernate.Transaction;import org.hibernate.cfg.Configuration;i...
阅读全文
摘要:package com.entity;import javax.persistence.Entity;import javax.persistence.OneToOne;@Entitypublic class Husband extends BaseEntity { @OneToOne(mapped...
阅读全文
摘要:package com.entity.onetomany;import java.util.ArrayList;import java.util.List;import javax.persistence.Entity;import javax.persistence.OneToMany;impor...
阅读全文
摘要:package com.entity.manytomany;import java.util.List;import javax.persistence.Entity;import javax.persistence.JoinColumn;import javax.persistence.JoinT...
阅读全文
摘要:ReturnName returnname.htmlpackage controller;import java.io.IOException;import java.io.PrintWriter;import javax.servlet.ServletException;import ...
阅读全文