You should be using the JSTL for this. Have a look at a concise JSTL reference at:
http://www.manning.com/bayern/appendixA.pdf Oz -----Original Message----- From: Jitesh Sinha [mailto:[EMAIL PROTECTED] Sent: Monday, 4 August 2003 12:06 AM To: Struts Users Mailing List Subject: RE: NewBie: Iterations for a constant no. of times Somebody please answer my question as in the email below...... -----Original Message----- From: Jitesh Sinha [mailto:[EMAIL PROTECTED] Sent: Sunday, August 03, 2003 3:20 PM To: Struts Users Mailing List Subject: NewBie: Iterations for a constant no. of times I have to show a row of 3 text fields a constant no. (say 5 ) of times . I have the code to show these 3 text fields in place in my jsp which will look like : <table> <tr> <td><input type=text name=aTextField></td> <td><input type=text name=anotherTextField></td> <td><input type=text name=anotherOneTextField></td> </tr> </table> I want this code to be iterated 5 times .which struts tag should I use over this code?? <logic:iterate> requires a collection as a property of the bean . I don't want to go to bean for this .I know this iteration variable(in this case the value is 5)beforehand .So there is no need to go to bean . Please help. Thanks, Jitesh --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]