All this logic shouldn' t be performed inside a JSP. Prepare everything in a Struts handler, save the set in HttpSession or ServletContext then user Struts:logic or even better JSTL c:forEach> [EMAIL PROTECTED]
Madhu Soudathikar <[EMAIL PROTECTED]> wrote: Hi, I have come across a strange problem for which i am scanning thru the Struts documentation and i could not locate any help. Problem; I have a set of employee records and in the JSP, i am displaying the records using logic:iterate.In the JSP, we have a provision to add a new employee by clicking on "ADD new " button which inserts an empty row for the user to enter the details. User can click on the button as many times as he wishes and each click add a new row. Now the problem is that i am not able to find a good deisgn for my Action form. Any suggestions would be of great help... thanks in advance --------------------------------- How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates. --------------------------------- Try the all-new Yahoo! Mail . "The New Version is radically easier to use" – The Wall Street Journal