At 1:03 PM -0500 3/26/04, [EMAIL PROTECTED] wrote:
Thanks,
but is there a way to do it without using Java code directly in the JSP
page?
In this cases there is not, although this has been discussed just
today on struts-dev:
http://article.gmane.org/gmane.comp.jakarta.struts.devel/18429/
In short
; cc:
Subject: Re: Accessing Struts beans
with keys defined in the Globals class
03/2
try this
session.getAttribute(Globals.LOCALE_KEY);
--- Denis Laroche <[EMAIL PROTECTED]> a écrit : >
Hello everybody,
>
> I hope it's not a trivial question.
>
> I'm trying to access the current Locale from a JSP
> page. The key to
> access the Locale is stored in variable
> org.
Hello everybody,
I hope it's not a trivial question.
I'm trying to access the current Locale from a JSP page. The key to
access the Locale is stored in variable
org.apache.struts.Globals.LOCALE_KEY. So what I did is to look up the
value of the variable in the source file org.apache.struts.Glob
4 matches
Mail list logo