posted 19 years ago
What are the elements of testList? What property of the elements of testList do you want to display? For example, if the testList elements have a getter called "getSomeProperty()" which you'd like to display, you'd write:
<bean:write name="test" property="someProperty" />
If you just wanted to call the toString() method of the list elements, then you don't even have to specify property:
<bean:write name="test" />
is equivalent to calling the toString() method of each list element.
I personally would prefer using JSTL: