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
评论
litoueva 2008-05-08
没人知道吗`````````````````````问题已经解决`````
发表评论

提醒: 该博客已发表在公共论坛,博客所有留言会成为论坛回贴,留言请注意遵守论坛发贴规则

您还没有登录,请登录后发表评论

litoueva
搜索本博客
最近加入圈子
存档
最新评论