You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by juraj Lenharcik <ju...@datainput.de> on 2001/09/04 11:08:51 UTC
AW: "Cannot find bean element in scope null" - Error in action fo
rwar d page - but the next page works !
put scope="request" to your write tag
-----Ursprüngliche Nachricht-----
Von: Hamelmann Stefan [mailto:stefan.hamelmann@pdb.sbs.de]
Gesendet: Dienstag, 4. September 2001 10:30
An: 'struts-user@jakarta.apache.org'
Betreff: "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