struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Reumann" <>
Subject Re: using Constants from JSTL .....
Date Thu, 08 Jul 2004 13:43:11 GMT
On Thu, 08 Jul 2004 13:49:11 +0200, Bryan Hunt <>  

> <c:set var="emailNotifications"  
> value="${scope[${Constants.EMAIL_NOTIFICATIONS}]}"></c:set>

Actually I haven't seen the 'scope' property like that, but have you tried  
(assuming ApplicationScope)...

<c:set var="emailNotifications"  

The above should work assuming you have a Constants class that is in  
Application scope and Constants is either a Map (with a key  
EMAIL_NOTFICATIONS) or a regular bean with a getEMAIL_NOTIFICATIONS method  
in it.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message