I very much doubt it. Have you tried something like this?
<% pageContext.setAttribute("theCollectionPacificRim", pageContext.findAttribute("theCollection PacificRim")); %> <c:forEach items="${theCollectionPacificRim} ....> But ideally I'd say rename all of your attributes so they have no spaces. > -----Original Message----- > From: Hunter Hillegas [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 19, 2003 3:35 PM > To: Taglibs > Subject: Attributes with Spaces in Their Names > > > One of the applications I am working on has application scope attributes > that have spaces in their names, such as: "theCollection PacificRim". > > When accessing from JSTL's forEach tag, I get this: > > 'forEach' / attribute = 'items': An error occurred while parsing custom > action attribute "items" with value > "${applicationScope.theRestaurantCollectionPacific Rim.collection}": > Encountered "Rim" > ... > > Not that surprised... Is there any way to access an attribute with a space > in the name? > > Thanks, > Hunter > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]