【发布时间】:2013-02-27 04:47:17
【问题描述】:
在 Struts 1.3 Action 类中,我们将值返回为
return mapping.findForward("success");
如果该动作的动作标签中未定义“成功”会发生什么
<action path="/helloWorld"
type="com.action.HelloWorldAction"
name="helloWorldForm">
<forward name="good" path="/Good.jsp"/>
<forward name="bad" path="/Bad.jsp"/>
</action>
【问题讨论】:
-
你尝试的时候发生了什么?
标签: mapping struts-1 struts-action