Well I don't know what is the problem really and there is nothing in the web, so it seems is something new, I'll try to explain better so you can understand what I mean. This web app is in three languages, whenever you go to its URL, the "/" namespace has an action that redirects to a namespace /Start/ and the action Presentation, depending on the language it goes to a different namespace and different Action mapping (different names in the corresponding language) but end up being the same action for example /Inicio/Presentacion in spanish. When this is done what I see in the URL is URL/Inicio/Presentacion!/Inicio/Presentacion#/Inicio/Presentacion. This is not a big problem, but the thing is there is another action named "ChangeLocaleToSpanishAction" and "ChangeLocaleToEnglishAction" in the "/" namespace, this action can be called in every moment for example suppose you are in /Start/Professionals/WhoAreWe and you want to see the page in spanish you click on the "spanish link" and "ChangeLocaleToSpanishAction" is invoked, and you should be redirected to /Inicio/Profesionales/QuienesSomos the thing is that /Inicio/Profesionales/QuienesSomos!/Inicio/Presentacion?request_locale=es#/Inicio/Presentacion is shown in the URL and I use the URL to redirect again if someone wishes to change the language, of course I can programmatically exclude the things I don't want in the URL, but I just don't want that to appear in the URL. There is nothing about that in the web.
On Mon, Jun 18, 2012 at 11:01 AM, Maurizio Cucchiara <mcucchi...@apache.org>wrote: > Could you specify your struts2 version? > I have a lot of apps based on the stack you mentioned and I've never seen > something similar. > Did you investigate if it is a struts issue or is something related to > the synergy with spring? > > Twitter :http://www.twitter.com/m_cucchiara > G+ :https://plus.google.com/107903711540963855921 > Linkedin :http://www.linkedin.com/in/mauriziocucchiara > > Maurizio Cucchiara > > > On 18 June 2012 15:03, Hernán <heam...@gmail.com> wrote: > > > I have upgraded a webApp using struts 2 to use Spring 3 and Spring > Security > > 3.1, before that Spring 2.5 and Spring Security 2 was used. The problem > is > > that when using redirectAction I get a > > !Namespace?parameters#namespace added to the URL's and that is not a good > > idea... I need the URL without that things added. Do you know what is > > happening? > > > > -- > > Hernán > > > -- Hernán