File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes using bean:write to display data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "using bean:write to display data" Watch "using bean:write to display data" New topic

using bean:write to display data

manikandan malathy

Joined: Sep 17, 2008
Posts: 13
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
in the jsp i am usign like this

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

<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>


But i am not getting the result... please help me
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63847

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.

[Asking smart questions] [About Bear] [Books by Bear]
David Newton

Joined: Sep 29, 2008
Posts: 12617

Without seeing the definition of the bean you're trying to access it's harder to help.
I agree. Here's the link:
subject: using bean:write to display data
It's not a secret anymore!