> -----Original Message----- > From: Bryan Hunt [mailto:[EMAIL PROTECTED] > > But for some reason ( my stupidity and the time of the evening ) I > cannot get this to work. > snip= > <c:set var="emailNotifications" > value="${scope['Constants.EMAIL_NOTIFICATIONS']"></c:set> > <c:out value="${emailNotifications.priceRangeStart}"/> > =snip > > or like this > > snip= > <c:set var="emailNotifications" > value="${scope[${Constants.EMAIL_NOTIFICATIONS}]"></c:set> > <c:out value="${emailNotifications.priceRangeStart}"/> > =snip
You should read the JSTL specification. That would have made clear that the latter has no chance of working, and it might have made clear what the former is doing. Try the following: <c:set var="emailNotifications" value="${applicationScope[Constants.EMAIL_NOTIFICATIONS]"></c:set> <c:out value="${emailNotifications.priceRangeStart}"/> That has a better chance of working, assuming the correct value is in the "EMAIL_NOTIFICATIONS" property of the "Constants" object in application scope. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]