>Is there a way to call something like a bean write taglib with a
>map  key/value combination in jstl or something else?  Thanks.

I think the JSTL Core tag enables you to do it.

See the JSTL1.0 specification document available at
http://sunsdlc1-1-vhost1.sjc-colo.bbnplanet.com/servlet/EComFileServlet/jstl-1_0-fr-spec.pdf

In the Section 3.3 "Nested Properties and Accessing Collections", the
document shows the following example JSP code which is valid.

<%-- "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"]}'/>





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

Reply via email to