浏览 166 次
|
该帖已经被评为新手帖
|
|
|---|---|
| 作者 | 正文 |
|
时间:2008-05-08
Action
public String find() throws Exception {
Map request = (Map) ActionContext.getContext().get("request");
request.put("list", dao.findAll());
System.out.println("find");
return SUCCESS;
}
list.jsp <body> <p> User </p> <s:iterator value="#request.list" status="u"> <s:property value="u.id" /> <s:property value="u.firstname" /> <s:property value="u.lastname" /> </s:iterator> </body> 报错页面 HTTP Status 404 - No result defined for action com.struts.action.UserAction and result input -------------------------------------------------------------------------------- type Status report message No result defined for action com.struts.action.UserAction and result input description The requested resource (No result defined for action com.struts.action.UserAction and result input) is not available. -------------------------------------------------------------------------------- Apache Tomcat/6.0.16 声明:JavaEye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
|
|
| 返回顶楼 | |
|
时间:2008-05-08
没人知道吗`````````````````````问题已经解决`````
|
|
| 返回顶楼 | |


