//第一个Action
public ActionForward aa(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
{
return mapping.findForward("??????");
}
//第二个Action
public ActionForward bb(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
{
return mapping.findForward("?????");
}
//struts-config.xml配置文件
<action
attribute="userForm"
input="/WEB-INF/public/index.jsp"
name="userForm"
parameter="flag"
path="/register"
scope="request"
type="com.xiaonei.web.action.RegisterAction"
validate="false">
<set-property property="cancellable" value="false" />
<forward name="??" path="?????" />
</action>
我遇到的问题是: 在跳转到第一个action(aa)中后 就像从 return mapping.findForward("??????"); 条到第二个action(bb)里边
希望大神指教。。。3Q!!
|
|