the main idea is I generate permaLink for businesses ex: mysite.com/abusiness.html
and I need to redirect on the detail business page... so I parse the url and do a redirection...but the browser changes the url...and I don't want the user to see something like mysite.com/showBusiness.action?idBusiness=ef546ewf4w6e4fe5e5f4w I use Struts 2.2.1 Francois Rouxel ____________________________________________ ----- Message d'origine ---- De : Martin Gainty <mgai...@hotmail.com> À : Struts Users Mailing List <user@struts.apache.org> Envoyé le : Jeu 10 mars 2011, 21h 32min 20s Objet : RE: url question 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org