struts2中从一个action跳到另一个action得annotation语句?

如题所述

在struts.xml文件里配置!
<action name="loginAction" class="com.ascent.action.LoginAction">
<result type="redirect-action">popedomAction</result>//跳转action的
<result name="error">/jsp/videopage/login.jsp</result>
<result name="input">/jsp/videopage/login.jsp</result>
</action>
<action name="popedomAction" class="com.ascent.action.PpopedomAction">
</action>
温馨提示:内容为网友见解,仅供参考
第1个回答  2013-05-06
问题没写明白,不好解决
第2个回答  2013-05-06
问题没写明白,不好解决
相似回答