tags:

views:

567

answers:

1

Hi,

I want to know how to get request locale in OGNL?

For now I use

<s:set var="locale" value='#session.WW_TRANS_I18N_LOCALE?#session.WW_TRANS_I18N_LOCALE.toString():"zh_CN"'/>

This must assume that the initial value is "zh_CN".

So I need to know how to get request locale in OGNL.

Thx

+1  A: 
#request.locale
Gordian Yuan