Try to build your own action mapper [1] [2] [1] http://struts.apache.org/2.2.3/docs/actionmapper.html#ActionMapper-CustomActionMapper [2] http://struts.apache.org/2.2.3/struts2-core/apidocs/org/apache/struts2/dispatcher/mapper/ActionMapper.html
Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2011/5/7 GF <gan...@gmail.com>: > Hello i've a site that behave this way: > > ContextPath = /myapp > > Namespace = /user > Action = view > > So, I deploy an application called mypath.war and I handle urls like: > > /myapp/user/view.action > > I wish to handle "multilanguage" and i wish to handle it in the url, > like /en /de /fr /de and so on. > > Since i wrote correctly my application, it is context path > indipendent, so, the most stupid thing to do is to deploy en.war > de.war fr.war and so on. > > Of course this is very "stupid" since it would be very memory consuming. > > Is there in Java EE a way to deploy ONCE the same .war and making it > to handle multiple context paths? I use Tomcat 6. > > I didn't find anything for this.. the only thing I found, causes > anyway a multiple deploy of the same .war > > Can you suggest me an alternative approach? > Thank you. > > --------------------------------------------------------------------- > 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