struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Micael <>
Subject Re: Localisation
Date Wed, 05 Mar 2003 16:43:05 GMT
This assumes that you want to write a new page for each locale.  Is that 
true?  Why not use messages?

At 12:28 PM 3/5/03 +0100, you wrote:
>You could set a group of forwards up, based on the locale ie
><forward name="this_en" path="/jsp_pages/out_en-jsp" redirect="true"/>
><forward name="this_de" path="/jsp_pages/out_de-jsp" redirect="true"/>
><forward name="this_ko" path="/jsp_pages/out_ko-jsp" redirect="true"/>
>within <action/>
>And you can then dynamically create the name from the selected action by the
>Or, better still, you could create a generic jsp, which calls all text by
>tagged resources, and have a collection of resources for that page with all
>the differing languages in. Allowing for easier updating of the page and
>page content.
>I use xslt, so I can't give you a jsp example, but there are some examples
>of this in Programming Jakata Strus and a few on the web.
>----- Original Message -----
>From: "James" <>
>To: <>
>Sent: Wednesday, March 05, 2003 8:11 PM
>Subject: Localisation
> > I have a LocaleActionClass that sets the locale according to which wee
> > the user clicks, my question is how in the struts-config.xml do i specify
> > to forward to the page they changed locale on (i.e their original page).
> >
> > James
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > For additional commands, e-mail:
> >
> >
>To unsubscribe, e-mail:
>For additional commands, e-mail:


This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message