向大神门求助,用MVC做的婚纱摄影网站,JSP+Struts2+Spring,获取数据库信息时候获取不到
设计的是管理员登陆后可以获取管理员添加的订单,但是一直获取不到,tomcat里显示已经获取到值了JSP中如何写才能显示呢?向各位大神求助,重谢!
Action:
package neo.pcms.action;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import neo.common.action.BaseAction;
import neo.core.Constants;
import neo.core.common.PagingList;
import
org.springframework.dao.DataIntegrityViolationException;
public class FriendAction extends BaseAction {
private PagingList friendinfo;
private String show;
private String Activi;
private String Wed;
private String Ser;
private String No;
private String Abo;
private String fname;
private String sex;
private String age;
private String email;
private String duty;
private String img1;
private String phone;
private int mobile;
private String address;
private double cash;
private int time;
private String pw;
private String name;
private Map map;
public List list = new LinkedList();
public String getImg1() {
return img1;
}
public void setImg1(String img1) {
this.img1 = img1;
}
public PagingList getFriendinfo() {
return friendinfo;
}
public void setFriendinfo(PagingList friendinfo) {
this.friendinfo = friendinfo;
}
public String getShow() {
return show;
}
public void setShow(String show) {
this.show = show;
}
public String getActivi() {
return Activi;
}
public void setActivi(String activi) {
Activi = activi;
}
public String getWed() {
return Wed;
}
public void setWed(String wed) {
Wed = wed;
}
public String getSer() {
return Ser;
}
public void setSer(String ser) {
Ser = ser;
}
public String getNo() {
return No;
}
public void setNo(String no) {
No = no;
}
public String getAbo() {
return Abo;
}
public void setAbo(String abo) {
Abo = abo;
}
public String getFname() {
return fname;
}
public void setFname(String fname) {
this.fname = fname;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getAge() {
return age;
}
public&n