On Wed, 20 Nov 2002, David Graham wrote:

> Date: Wed, 20 Nov 2002 15:02:22 -0700
> From: David Graham <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: JSTL Question (EL vs. RT + Struts)
>
> But what is the EL expression to get a constant like Constants.MY_KEY?
>

What I would do is have my app setup code save the value of
Constants.MY_KEY as a servlet context attribute such as "MY_KEY".  Then,
the expression to access it would be the obvious one:  "${MY_KEY}".

> David
>

Craig


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

Reply via email to