By accident I discovered that I am able to display information directly
from a HashMap using <bean:write>:

<bean:write name="myHashMap" property="myKey"/>

Based on my reading of the Bean Tags API Reference I didn't think it was
possible to do this.

I have done something similar using Map-backed ActionForms with setValue()
and getValue methods that
access a private HashMap:

<bean:write name="myBean" property="value(myKey)"/>

Is there any reason why it would not be a good practice to display
information directly from a HashMap using  <bean:write>?

Thanks for any ideas on this.
Jack



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

Reply via email to