You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nino Walker <ni...@xtime.com> on 2001/02/15 20:47:17 UTC

Maps and property introspection

Hi,

I'm wondering if anyone has modified PropertyUtils to handle "synthetic"
properties of Maps.  For example, if you have a hashtable, you could
mimic "hash.get("somekey")", with:

<lib:... name="hash" property="somekey" />

This was a very nice feature of ATG's JHTML implementation.  Is there
any reason why one would not want to do this in Jsp?

Thanks,

Nino