Kris Schneider wrote:

>Nope, you can do it. From the spec:
>
><%-- “productDir” is a Map object containing the description of
>      products, “preferences” is a Map object containing the
>      preferences of a user --%>
>product:
><c:out value=”${productDir[product.custId]}”/>
>shipping preference:
><c:out value=’${user.preferences[“shipping”]}’/>
>  
>
Hey, isn't that what I said?!

Pbbth on all of ya'!!!

 > > If I try
 > > chart = <c:out value="${stock.charts["1M"]}"/>
>  >
>  > I get
>  >
>  > javax.servlet.ServletException:
>  > /jsp/financialdata/show.jsp(33,40) Attribute
>  > 1M has no value

'Cuz once the second double-quote is hit it thinks 1M is an attrib, not 
part of the value attribute's value.

I knew something! I knew something! ;)

(Gotta take 'em when I can... *sigh*)

Dave



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

Reply via email to