Have you tried request.getLocale() ?

elif

On 6/29/07, Stefano Bianchi <[EMAIL PROTECTED]> wrote:

Dear all,
how can I get the localization programmatically in J1.6 in a jsp page?

Suppose I have to load payout_en.gif or payout_it.gif according to current
localization (I use the changelanguage portlet) and that I want to
generate
the _en or _it part dynamically.

I can get it once with

request.getParameter("js_language")

but this is related to the request, as soon as I click something else I
lose
it.
Is there any Rundata variable I should read from?

I think it is simple but I do not know where to look at.

Thanks,
Stefano

Ing. Stefano Bianchi
Softeco Sismat S.p.A. - www.softeco.it
Via De Marini 1, WTC Tower
16149 GENOA (ITALY)
Tel. +39 010 6026 368
Fax +39 010 6026 350




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


Reply via email to