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
client.

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.

Cheers

Simon

----- Original Message -----
From: "James" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 8:11 PM
Subject: Localisation


> I have a LocaleActionClass that sets the locale according to which wee
flag
> the user clicks, my question is how in the struts-config.xml do i specify
it
> to forward to the page they changed locale on (i.e their original page).
>
> James
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to