aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "using bean:write to display data" Watch "using bean:write to display data" New topic
Author

using bean:write to display data

manikandan malathy
Greenhorn

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

Joined: Jan 10, 2002
Posts: 60050
    
  65

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Newton
Author
Rancher

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: http://aspose.com/file-tools
 
subject: using bean:write to display data
 
Similar Threads
Struts TextBoxes
Help me about html:select
How to set background color for records?
logic:iterate question
Show - Hide Functionality