not i the type of result is redirectAction

http://struts.apache.org/2.0.14/docs/redirect-action-result.html



we could provide more informed solutions if you could explain what you wish to 
implement and a rough workflow

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> Date: Thu, 10 Mar 2011 17:59:46 -0800
> From: rouxe...@yahoo.com
> To: user@struts.apache.org
> Subject: url question
> 
> 
> Hi guys,
> I need your help, at least your expertise...
> My site generates permaLinks dynamic like
> www.mysite.com/abusiness.html
> and struts2 makes a mapping (in struts.xml file) that redirect on an action
> that takes params
> ex:
> <struts>
>       <package name='catchall' extends="struts-default">              
>               <action name='*' class="com.rdvcentral.mvc.ParsePermaLinkAction"
>                       method="redirectToParseUrl">
>                       <result name='success' type="redirectAction">
>                               /
>                               parseUrl
>                               {1}
>                       </result>                                               
>               </action>               
>               <action name='parseUrl' 
> class="com.rdvcentral.mvc.ParsePermaLinkAction"
>                       method="parseUrl">
>                       <result name='businessFound' type="redirectAction">
>                               /business
>                               showDetailBusinessWithRefresh
>                               ${idLocation}
>                               true
>                       </result>                       
>                       <result 
> name='error404'>/error/struts-error404.jsp</result>
>               </action>               
> 
> my pb : the browser show the redirection.
> my question is : is it possible to tell struts to not show the redirection ?
> 
> thx a lot
> 
> fr/
> -- 
> View this message in context: 
> http://old.nabble.com/url-question-tp31121586p31121586.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
                                          

Reply via email to