OK, thanks to Stack Overflow and , I solved my problem :)The only little thing I Don't like...<a href="<s:url includeParams="get"> <s:param name="request_locale">en_US</s:param> </s:url>"> English </a>It's JSTL included in Html...... and not pure JSTLIs it possible to improve that? Thank you for everything Florent
---------------------------------------- > Subject: RE: getRequestURL and action > From: ken.mcwilli...@aerose.com > To: user@struts.apache.org > Date: Thu, 27 Jan 2011 13:09:27 -0700 > > This question on Stack Overflow is very similar to your issue: > http://stackoverflow.com/questions/4773063/tiles2-struts-switch-locale > > The parameter name for which the i18n interceptor determines the > language is configurable, I have not tried this but it may be possible > to specify a session_locale parameter for which it will determine the > correct language bundle. That is if you need the change to persist > across pages. > > Then you could configure an interceptor to capture any request_locale > parameters and setting session_locale to the same value. > > On Thu, 2011-01-27 at 19:49 +0100, Doctor John Carter wrote: > > en nl_BE fr > > EnglishNederlandsFrançais > > > > /matchDays.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 > > > > > > --------------------------------------------------------------------- > 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