Accessing Struts beans with keys defined in the Globals class

2004-03-26 Thread Denis Laroche
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

Re: Accessing Struts beans with keys defined in the Globals class

2004-03-26 Thread Nizeyimana Zabulon
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

Re: Accessing Struts beans with keys defined in the Globals class

2004-03-26 Thread Denis . Laroche
: Subject: Re: Accessing Struts beans with keys defined in the Globals class 03/26/2004 11:43

Re: Accessing Struts beans with keys defined in the Globals class

2004-03-26 Thread Joe Germuska
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