can I do it with <logic:iterate>?
--- Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Tony Smith" <[EMAIL PROTECTED]> > > If I just want to go through a loop and print out > 1, > > 2, ...10, how can I do it with <logic:iterate>? > > Here's a gentle shove in the JSTL direction... > http://struts.apache.org/userGuide/dev_logic.html > > <%@ taglib uri="http://java.sun.com/jstl/core" > prefix="c" %> > <c:forEach begin="0" end="10" var="num"> > <c:out value="${num}" /> > </c:forEach> > > (If you're on a JSP 2.0 container, you can drop the > <c:out> and use the > expression directly.) > > -- > Wendy Smoak > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]