---------------------------------------------------map保存
private Search bkaction;
public String getBook(){
Map<String,Object> request=(Map<String,Object>)ActionContext.getContext().get("request");
List<Bookinfo> list = bkaction.search();
request.put("list", list);
return "loginSuccess";
}
public Search getBkaction() {
return bkaction;
}
public void setBkaction(Search bkaction) {
this.bkaction = bkaction;
}
}
Jsp取出