public class FindAllAction extends ActionSupport {
private List dlList;
private List stType; private DownLoadDAO dlDao; public DownLoadDAO getDlDao() {
return dlDao;
} public void setDlDao(DownLoadDAO dlDao) {
this.dlDao = dlDao;
} public List getDlList() {
return dlList;
} public void setDlList(List dlList) {
this.dlList = dlList;
} public List getStType() {
return stType;
} public void setStType(List stType) {
this.stType = stType;
} // ------ 查询多组数据 , 返回 LIST
public String findAll() {
HttpServletRequest request = ServletActionContext.getRequest();
String condition = "from TbDownload d,TsPrefecturetype p,TsSkilltype s where d.ptid = p.ptid and d.stid = s.stid";
dlList = dlDao.findAll(condition);
String condition1 = "from TsSkilltype";
stType = dlDao.findAll(condition1);
return "success";
}
}
  
使用的是 SSH2  。。
有一页面, index.html  iframe 了两个页面, 一个 main-1.jsp ,right.jsp
在main-1.jsp中 , <s:property value="dlList"> 无法显示值 ,空白的,什么都没有。不过在index.html中却正常打印出对象。 到底为什么啊?? 如何在main-1.jsp中取值。
我也试过将 那 两个 集合中 放到 request中, 结果 却还是一样。