<s:url id="localeEN" namespace="/" action="locale" > <s:param name="request_locale" >en</s:param></s:url><s:url id="localenlBE" namespace="/" action="locale" > <s:param name="request_locale" >nl_BE</s:param></s:url><s:url id="localeFR" namespace="/" action="locale" > <s:param name="request_locale" >fr</s:param></s:url> <ul><li><s:a href="%{localeEN}" >English</s:a></li><li><s:a href="%{localenlBE}" >Nederlands</s:a></li><li><s:a href="%{localeFR}" >Français</s:a></li></ul>
<action name="locale" class="be.yp5.HK.action.LocaleAction"> <result name="SUCCESS" type="redirect">/matchDays.action</result> </action> ---------------------------------------- > Subject: Re: getRequestURL and action > From: ken.mcwilli...@aerose.com > To: user@struts.apache.org > Date: Thu, 27 Jan 2011 11:42:24 -0700 > > gives you the current url. > > gives you the current url with the get > parameters. > > The tag also shares the above properties but is also a link. > > http://struts.apache.org/2.x/docs/tag-reference.html > > On Thu, 2011-01-27 at 18:33 +0100, Doctor John Carter wrote: > > > > > > > > > > > > > > > > > > > > > > > > Struts > > version 2.1.8.1 > > > > All > > my jsp pages include a header.jsp file. > > > > This > > header file is made for the choice of the languages. > > > > > > > > > > There > > are 3 links with the same action > > > > > > > > > > Th > > problem is that I don 't want to go back to the same page for all > > the jsp file(home page for example). I want to go back to the origin > > pag after the user has choose his language > > > > > > > > > > > > > > So > > I would like to know how is it possible in the Struts > > > > > > > > > > > > > > Thank > > you > > > > > > > > Florent > > --------------------------------------------------------------------- > > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org