struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Niccolò Giubelli <>
Subject Retrieve an hashtable entry within a jsp using struts tag and a bean as the key
Date Mon, 30 Jun 2008 14:29:57 GMT
I need a little help. I'm writing a jsp using struts tags and in my 
ActionForm class I put an Hashtable containing keys and values (both are 
I can get my hashtable in this way:

<bean:define id="ht" name="myForm" property="productsCategories"/>

The key is also a bean, obtained through a (working) logic:iterate:
<logic:iterate id="product" name="myForm" property="lastProducts">

How can I retrieve a value from ht using "product" as the "key"?
I tried as I usually do with hashtables, using
<bean:define id="xyz" name="ht" property="product"/> (and then 
bean:writing some properties) but, as I expected, it doesn't work.

Thank you in advance!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message