For example, for example: two packages, how to jump
<
struts
>
<
constant
name
=
"struts.enable.DynamicMethodInvocation"
value
=
"false"
/>
<
constant
name
=
"struts.devMode"
value
=
"false"
/>
<
constant
name
=
"struts.i18n.encoding"
value
=
"UTF-8"
></
constant
>
<
package
name
=
"user"
namespace
=
"/user"
extends
=
"struts-default"
>
<
action
name
=
"userlogin"
class
=
"cn.jhost.alibaba.user.action.UserAction"
>
<
result
name
=
"SUCCESS"
type
=
""
>renewToList.action</
result
>
<
result
name
=
"ERR"
>/err.html</
result
>
</
action
>
</
package
>
<
package
name
=
"renew"
namespace
=
"/renew"
extends
=
"struts-default"
>
<
action
name
=
"renewToList"
class
=
"cn.jhost.alibaba.renew.action.RenewAction"
>
<
result
>/jsp/list.jsp</
result
>
</
action
>
</
package
>
</
struts
>
The
is configured as follows:
<result name= "SUCCESS" type= " Redirectaction "> renew</param>
<param name= "ActionName" >renewtolist</param>
</result>
Or so
- <result type="Chain">
- <param name="ActionName">dashboard</param>
- <param name="namespace">/secure</param>
- </result>
For the action jump between different packages, how to configure?