I have a action class which adds an arraylist of Friends object to the request. The action class is invoked from a hyperlink so it doesn't need a form element. Now when i am trying to display the contents of the bean, it gives an error saying
javax.servlet.ServletException: Cannot find bean: "friend" in any scope
The
jsp page reads....
<logic:iterate name="user_friends" id="friend" scope="request">
<tr>
<td>
<bean:write name="friend" property="first_name" />
</td>
<td>
<bean:write name="friend" property="last_name" />
</td>
</tr>
</logic:iterate>
The form-bean entry in struts-config.xml file reads:
Can anyone help me with this?