Hello Leonidas, Common practice for doing this would be as follows:
<package name="yourPackageName" namespace="/" extends="struts-default"> <action name="ssa" class="your.namespace.ssaAction"> <result type="redirectAction"> <param name="actionName">SelectStepA</param> <!-- Provided if action to redirect to is in another namespace. --> <param name="namespace">yourRedirectActionsNamespace</param> <!-- Property found on the value stack. Can also be hard coded. --> <param name="param1">${propertyName}</param> <param name="param2">${propertyName}</param> </result> </action> <action name="SelectStepA" class="your.namespace.SelectStepA"> ... </action> </package> Hope that answers your question. Kind regards Christer! -----Opprinnelig melding----- Fra: Leonidas Papadakis [mailto:l...@bluecore.gr] Sendt: 9. februar 2009 18:39 Til: Struts Users Mailing List Emne: action alias / redirect Greetings to all, in my struts2 actions file i have the following entry for an action : <action name="SelectStepA" class="action.SelectStepA"> ... (interceptors, results) ... </action> i would like to have another action with "shortname" ie ssa that will redirect to the above action (sending all the url parameters) What is the best way to do this ? Thank you very much Best Regards, Leon --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org