Avoid using <LOOP>.  The 1.0 specification drops it so you don't want to get
married to that approach.

Use a scriptlet instead.  For example:

<% for (int i=1; i <= 10; i++) { %>

<BR>Number <%= i %>

<% } %>

or

<%
for (int i=1; i <= 10; i++) {
   out.println("<BR>Number " + i);
}
%>

Cheers,

Dan

> ----------
> From:         Khurram Mahmood[SMTP:[EMAIL PROTECTED]]
> Reply To:     Khurram Mahmood
> Sent:         Wednesday, November 03, 1999 5:14 PM
> To:   [EMAIL PROTECTED]
> Subject:      using Loop?
>
> Hi,
>
> I am trying to assign the String values from an array in Java to a
> javascript code. I am assuming that the LOOP tag in JSP can help me but I
> am
> not sure and don't know how to use it. could you give some concrete
> example(s). I would really appreciate.
>
> Thanks.,
>
> KM
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to