struts2+ibatis+spring:列表页面取不到list集合里的值

struts2+ibatis+spring:列表页面取不到list集合里的值
请各位帮帮忙,先谢了

所报异常:
10-11-19 02:13:13  WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
10-11-19 02:13:13  WARN OgnlValueStack:45 - Could not find property [org.apache.catalina.jsp_file]
10-11-19 02:13:14  WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
10-11-19 02:13:14  WARN OgnlValueStack:45 - Could not find property [struts.valueStack]
10-11-19 02:13:21 DEBUG [/Ibatis_Spring]:185 - servletPath=/stuList.jsp, pathInfo=null, queryString=null, name=null
10-11-19 02:13:21 DEBUG [/Ibatis_Spring]:371 -  Path Based Forward
10-11-19 02:13:21  WARN OgnlValueStack:45 - Could not find property [org.apache.catalina.jsp_file]
10-11-19 02:13:21 DEBUG [/Ibatis_Spring]:404 -  Disabling the response for futher output

页面代码:
<table border="1">
    <tr>
    <td>学号</td>
    <td>姓名</td>
    <td>操作</td>
    </tr>
    <s:iterator value="list">
    <tr>
    <td><s:property value="stuId"/></td>
    <td><s:property value="name"/></td>
    <td>
    <span onclick="openWin('index.jsp')">新增</span>
    </td>
    </tr>
    </s:iterator>
</table>

Action的代码:
        private StudentService studentService;

private Student student;
private Integer userId;

        public String findAll(){
list = studentService.findAll();
if(list == null){
list = new ArrayList();
}
return &quot;LIST&quot;;
}


private List list;


public List getList() {
return list;
}
public void setList(List list) {
this.list = list;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Student getStudent() {
return student;
}
public void setStudent(Student student) {
this.student = student;
}
public void setStudentService(StudentService studentService) {
this.studentService = studentService;
}

struts.xml文件:
<package name="default" namespace="/" extends="struts-default">
<action name="student" class="action.StudentAction">
<result name="LIST">/stuList.jsp</result>
</action>
</package>



你可能感兴趣的:(apache,spring,jsp,ibatis,struts)