[EMAIL PROTECTED] wrote: > 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? > Ah. Can't.
Sucks, huh? As Rahul said, push for the fix. In general, when I've dealt with strong separation between presentation and back-end teams, I've just said "Hey, you have access to something through the 'user' name and here's what a 'user' has for you..." If it needs to change (I don't think I've ever actually changed one) then I would have just passed on the change. One project I was marginally involved on (over-)used custom tags to handle issues like this, so the page designer would just say <x:user property="name"/> etc. Didn't care for it myself, but JSP 2.0 didn't exist yet, and we were all pretty anti-scriptlet, so hey. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]