Hellow all:
in my LogonAction i have this code :
DataAccess da =
(DataAccess)request.getSession().getAttribute("DATAACCESS");
if (da == null) {
da = new DataAccess();
request.getSession().setAttribute("DATAACCESS", da);
}
Vector vecteur = da.recupererNomChu();
request.setAttribute("CHUS", vecteur);
I want to post the contents of the vector in my
listchu.jsp page so I put:
<logic:iterate id="mesElements" name="CHUS" >
<html:link forward="contenu" paramId="nom"
paramName="mesElements">
<bean:write name="mesElements" />
</html:link>
<br>
</logic:iterate>
But it gives me the following error:
javax.servlet.ServletException: Cannot find bean CHUS
in scope null
Cordiallement .
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail :
http://fr.mail.yahoo.com
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>