NewBie: Iterations for a constant no. of times

2003-08-03 Thread Jitesh Sinha
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 tdinput type=text name=aTextField/td tdinput type=text name=anotherTextField/td tdinput type=text name=anotherOneTextField/td

RE: NewBie: Iterations for a constant no. of times

2003-08-03 Thread Jitesh Sinha
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

RE: NewBie: Iterations for a constant no. of times

2003-08-03 Thread Oguz Kologlu
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:

RE: NewBie: Iterations for a constant no. of times

2003-08-03 Thread Jitesh Sinha
you mean to say there is absolutely no way I can achieve it by using Struts??? If that is the case,struts is not a wise choice to use in our apps..because we don't know what is present there and what is not -Original Message- From: Oguz Kologlu [mailto:[EMAIL PROTECTED] Sent:

RE: NewBie: Iterations for a constant no. of times

2003-08-03 Thread Oguz Kologlu
Jitesh, I didn't say that. I think you have some misconceptions about what struts is. You were asking how to do a for loop. The answer is to use the Java Standard Tag Library - JSTL. There is no need to use struts tags for this. JSTL and Struts tags play very nicely together. If you are

RE: NewBie: Iterations for a constant no. of times

2003-08-03 Thread Jitesh Sinha
That's fine Oz... Actually by looking at your reply,I thought you know that it cannot be done by Struts... Thanks for letting me onto JSTL -Original Message- From: Oguz Kologlu [mailto:[EMAIL PROTECTED] Sent: Sunday, August 03, 2003 8:29 PM To: Struts Users Mailing List Subject: RE:

RE: NewBie: Iterations for a constant no. of times

2003-08-03 Thread Erez Efrati
%@ taglib uri=http://java.sun.com/jstl/core; prefix=c % c:forEach begin=1 end=5 ... what ever you want here /c:forEach Hope this helps, Erez -Original Message- From: Jitesh Sinha [mailto:[EMAIL PROTECTED] Sent: Sunday, August 03, 2003 5:09 PM To: Struts Users Mailing List