You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael Delamere <ho...@michael-delamere.de> on 2002/05/13 22:00:42 UTC
Getting a list from a session bean and displaying the data in a jsp
Hi,
I´ve got a session bean which returns an Object[] array of entity beans. In
my action file I get the array via a jndiContext.lookup. That´s all no
problem and I can retreive my data out of the entity beans.
However, I´m slightly stuck getting them over to my jsp file. I´ve tried
request.setAttribute("entryList", entryList);
and then outputing the data with:
<nested:iterate property="entryList">
<tr>
<td><nested:text property="entry_subject" /></td>
<td><nested:text property="entry_text" /></td>
<td><nested:text property="entry_date" /></td>
</tr>
</nested:iterate>
Could someone give me an insight of how this is done.
I would be most grateful.
Thanks,
Michael
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>