struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <>
Subject Re: Pass a parameter from action to other action with type result "chain"
Date Tue, 28 Mar 2017 09:57:15 GMT
2017-03-28 10:48 GMT+02:00 Dao Cong Hung (FSU17.BU68)
> Thanks you, So if I convert struts1 to Struts2 in file config.xml.
> <forward name="error"      path="/ " />  it keep request
at the action2
> So with struts2 type result  the same forward except "chain"

Nope, there is no "forward to action" result in Struts2, the closest
approach is to use "chain" but it isn't recommended. Since you're
migrating the project maybe it would be a good idea to rethink some
patterns, which worked well in Struts1 but not in Struts2 - Struts2 is
a totally different framework and uses different patterns.

+ 48 606 323 122

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message