struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Partha Chakraborty" <par...@ontrackindia.com>
Subject RE: Handling navigation language in the URL
Date Fri, 15 Apr 2011 09:09:38 GMT
You can send that as parameter

Partha Chk

-----Original Message-----
From: GF [mailto:ganfab@gmail.com] 
Sent: Saturday 7 May 2011 1:53 PM
To: Struts Users ML
Subject: Handling navigation language in the URL

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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message