A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jul 23, 2004
Aug 13, 2004 07:12:00
I am trying to iterate a
 object in simple
but i have a problem:
javax.servlet.jsp.JspException: Cannot find bean element in any scope
<logic:iterate id="element" name="zoznamStlp">
zoznamStlp is present in request.
Joined: Sep 25, 2003
Aug 13, 2004 12:17:00
Below is a sample from some code I wrote that works. Hope it helps.
<logic:iterate id="order" name="orders" scope="request" type="com.mycompany.IClientOrderTO"> <bean:write name="order" scope="page" property="orderID" /> </logic:iterate>
The only other thing I can think of is to make sure that your String array is not null and does not contain any nulls.
Anthony W.<br />MCP, SCJP 1.4, SCJD, SCWCD 1.3, SCWCD 1.4, SCBCD
I agree. Here's the link:
subject: logic:iterate problem
JspException: No getter method
on logic:iterate tag
Iterating Collection of Integer
Iterate Hashmap through struts
Access to logic:iterate
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014