On 1/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Here's what I usually do:
>
>
>     request.setAttribute( Constants.USER, userObject );
>
> and the Constants.java defines
>
>     public final static String USER = "theUser";
>
> then in the JSP
>
>     <c:out value="${theUser.name}"/>
>
>
> But I want to be able to do something like
>
>     <c:out value="${Constants.USER.name}"/>
>
>
> I've never actually tried this.  Maybe I should before posting this, but I 
> don't know why it would work.  I thought the EL only had access to bean 
> properties?  So why would it be able to access a field directly?
>
>
<snip/>

Known issue, push for it to be resolved here:

https://jsp-spec-public.dev.java.net/issues/show_bug.cgi?id=145

-Rahul

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

Reply via email to