设计的是管理员登陆后可以获取管理员添加的订单,但是一直获取不到,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 void setAge(String age) {
this.age = age;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getDuty() {
return duty;
}
public void setDuty(String duty) {
this.duty = duty;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public int getMobile() {
return mobile;
}
public void setMobile(int mobile) {
this.mobile = mobile;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public double getCash() {
return cash;
}
public void setCash(double cash) {
this.cash = cash;
}
public int getTime() {
return time;
}
public void setTime(int time) {
this.time = time;
}
public String getPw() {
return pw;
}
public void setPw(String pw) {
this.pw = pw;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Map getMap() {
return map;
}
public void setMap(Map map) {
this.map = map;
}
public String orderList() throws Exception{