Hi,
I have a problem with iterator. I have a class SearchStudent that send a query to db that return List<Student> students.
In the
jsp I want display the name and the age of the students.
I wrote:
<s:iterator value="students" id="next" >
<s:property value="#next.name"/>
</s:iterator>
in the jsp page i can't see nothing but if I change in
<s:iterator value="students" >
<s:property "/>
i can see only the id of the first student (that is the first field in the db)
how i can display correctly the students???
Please, Help me!!!