struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janarthan Sathiamurthy" <janartha...@mphasis.com>
Subject RE: From bean into "for" loop
Date Mon, 24 May 2004 08:19:13 GMT
Andy,

What error are u getting ?

Regards,
Janarthan S

-----Original Message-----
From: Andy Engle [mailto:struts@andyengle.com]
Sent: Monday, May 24, 2004 9:20 AM
To: user@struts.apache.org
Subject: From bean into "for" loop


Hi all,

I am trying to do something as simple as writing a FOR loop with some
information that I have in a bean, but this is proving to be quite a
bit more cumbersome and difficult than I thought it would be.  For some
reason, everything I try seems to fail.  Here is a short example of
what I'm trying to do:

<% for(int i = 0; i < ${productData.someCount}; i++) {  %>
   // Write my text here
<% } %>

What am I missing here?  If you could help me I'd appreciate it --
enough time wasted on this thing already.


Thanks,
Andy


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message