Hi Folks,

Consider a class called employee, with getter/setter methods for first and 
last
name.  Originally, I had an ArrayList of them in session scope (empList), 
and
used logic:iterate to display them in a JSP:

<logic:iterate id="emp" name="empList" scope="session">
        <bean:write name="emp" property="last"/>,
        <bean:write name="emp" property="first"/>
        <br>
</logic:iterate>

Now, empList is a member of another class in session scope (empForm), with a
getter/setter for empList.

What is the best way to display the names like I used to, now that empList 
must
be indirectly accessed via empForm?

-Shane




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to