You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hamelmann Stefan <st...@pdb.sbs.de> on 2001/09/04 10:30:24 UTC
"Cannot find bean element in scope null" - Error in action forwar
d page - but the next page works !
Hi
I have an action class setting a session attribute ( java bean class )
forwarding to a jsp page which calls <logic:iterate> for that bean.
I got a "Cannot find bean element in scope null" error message for element.
<logic:iterate id="element" name="myBean" property="myVectorProp"
type="MyCastClass">
<tr>
<td align="left">
<bean:write name="element" property="title"/>
When I make the same call " a page later " everything works fine.
I got the error in Struts 1.0 and Struts 1.1.4 with Tomcat 3.2.3 and Tomcat
4.0 B7
Thanx in advance, Stefan