Bhaarat Sharma wrote:
how would 'if' help with 'next'.  can you please give an example?

Pseudocode Java; this is something people should be able to figure out for themselves. In JSP I might just use the index.

for (Foo curr : foos) {
    if (alt) {
        ...
    } else prev = curr;
    alt = !alt;
}

OTOH, I'd probably never *need* to do this.

Dave

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

Reply via email to