• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using bean:write to display data

 
manikandan malathy
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using logic:iteraror tag to display data from a arraylist
i am usign like this
first i set the data in action file like this
request.setAttribute("Hotelsearch",Hotelsearch);
in the jsp i am usign like this

<logic:iterate id="HotelId" name="Hotelsearch">
<tr>

<td><div align="center"><bean:write name="HotelId" property="CUR_ISO_COD"/></div></td>
<td><div align="center"><bean:write name="HotelId" property="IN_DAT"/></div></td>
<td><div align="center"><bean:write name="HotelId" property="OUT_DAT"/></div></td>
<td><div align="center"> </div></td>

</tr>
</logic:iterate>

But i am not getting the result... please help me
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65123
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without seeing the definition of the bean you're trying to access it's harder to help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic