this is regarding struts2, i have create one ArrayList object and in that i have stored 4 User class objects taking them from database. Now i want to read the data of all 4 User objects from jsp file using struts2 tag. i have done the following thing, but i am getting data only of one User.
<s:iterator value="userList" status="itstatus">
My problem is i have to use index variable, but i am not getting how to use it. if you know this , please send me the answer. i well be very grateful to u.