Hey All,

I have a quick question.  I'm trying to use a struts bean in a page to
simple display a vector with the following tag, but having problems.  The
name path to my bean is com.struts.UsersBean and in my struts-config.xml, I
have usersBean as the name value.  What value do I use to have it use the
usersBean instance?  Currently I have this code:

<table width="200" height="100" align="center">
  <logic:iterate id="element" property="users" name="com.struts.UsersBean"
scope="request"> 
          <tr> <bean:write name="element"/> </tr>
  </logic:iterate> 
</table>

I thought that Struts automatically instantiated my bean if there wasn't an
instance already existing.  When my page is hit, how would I grab the bean
from my session or request if I haven't put it into my session/request?  Is
there a way to do this through my ActionForm class?

Thanks!

Steven

Reply via email to