摘要:目录结构: 1 package com.helen.model; 2 3 import javax.persistence.Entity; 4 import javax.persistence.Id; 5 import javax.persistence.Table; 6 7 import or...
阅读全文
摘要:引用其它的Bean: 1 2 3 4 5 6 7 8 9 10 Set List Map 配置: 1 2 //数组 3 4 ...
阅读全文
摘要:1、 1 package com.helen.bean; 2 3 public class Student { 4 private int stuid; 5 private String name; 6 private String mess; 7 8 publi...
阅读全文
摘要:1 package com.cn; 2 3 import org.hibernate.Session; 4 import org.hibernate.SessionFactory; 5 import org.hibernate.cfg.Configuration; 6 7 public fin...
阅读全文
摘要:1 package com.cn.cookie; 2 3 import java.io.IOException; 4 import java.io.PrintWriter; 5 import java.util.Date; 6 7 import javax.servlet.ServletExc...
阅读全文
摘要:返回发现原来的在页面并刷新:servlet 中: out.print("'" ); out.print("") ; out.print(" ") ;
阅读全文