invocation.getStack().findString(#attr.locale) On Thu, May 21, 2009 at 6:22 AM, Gordian Yuan <gordiany...@gmail.com> wrote:
> 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 > > Gordian Yuan >