--- Mansour <[EMAIL PROTECTED]> wrote: > <s:if test="#stat.odd == true"> > <tr class="odd"> > </s:if> > <s:else> > <tr class="even"> > </s:else>
Btw, I would change this to (minus whatever syntax / attribute name errors I'm about to make): <s:set name="foo" value="${#stat.odd ? 'odd' : 'even'"/> <tr class="${foo}"> ... Cleaner, shorter, and better-formed JSP. d. ____________________________________________________________________________________ Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]