Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 27780 invoked from network); 3 Aug 2003 14:51:14 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 3 Aug 2003 14:51:14 -0000 Received: (qmail 9460 invoked by uid 97); 3 Aug 2003 14:53:54 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 9453 invoked from network); 3 Aug 2003 14:53:53 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 3 Aug 2003 14:53:53 -0000 Received: (qmail 25557 invoked by uid 500); 3 Aug 2003 14:50:49 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 25545 invoked from network); 3 Aug 2003 14:50:49 -0000 Received: from mail005.syd.optusnet.com.au (210.49.20.136) by daedalus.apache.org with SMTP; 3 Aug 2003 14:50:49 -0000 Received: from co3001344a (c210-49-75-101.belrs1.nsw.optusnet.com.au [210.49.75.101]) by mail005.syd.optusnet.com.au (8.11.6p2/8.11.6) with SMTP id h73Eooo29060 for ; Mon, 4 Aug 2003 00:50:50 +1000 From: "Oguz Kologlu" To: "Struts Users Mailing List" Subject: RE: NewBie: Iterations for a constant no. of times Date: Mon, 4 Aug 2003 00:59:05 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 absolutely desperate to use the struts tags instead you'll have to dig out the right tag yourself since I won't waste my time on it. Oz -----Original Message----- From: Jitesh Sinha [mailto:jsinha@cisco.com] Sent: Monday, 4 August 2003 12:35 AM To: Struts Users Mailing List Subject: RE: NewBie: Iterations for a constant no. of times 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:ozkologlu@optushome.com.au] Sent: Sunday, August 03, 2003 7:55 PM To: Struts Users Mailing List Subject: RE: NewBie: Iterations for a constant no. of times 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:jsinha@cisco.com] 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:jsinha@cisco.com] 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 :
I want this code to be iterated 5 times .which struts tag should I use over this code?? 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: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org