posted 17 years ago
Hi,
I have defined an action in struts-config.xml as
<action path="/city/introduction"
forward="/GDCityDetail.do?methodToCall=displayCityIntroduction">
</action>
now I need to forward a request to the above action, in another action. is it possible to do it ? if yes pls. inform.
I have tried with the following way.. but it is giving me 404 error.
<action path="/GDBrands"
type="com.ihg.dec.components.goDiscover.struts.actions.GDHomeDispatchAction"
parameter="methodToCall"
scope="session">
<forward name="showCityIntroduction" path="/city/introduction"/>
<forward name="failure" path="ErrorView"/>
</action>
Thanks,
Neeraj