I had to put the expression between brackets: <s:if test="(#fieldNameStatus.index % 10 )==0">xxxxx</s:if>
Thanks JL 2010/12/21 Li Ying <liying.cn.2...@gmail.com> > You can put the following debug code in your jsp: > > <s:property value="#fieldNameStatus.index" /> > <s:property value="#fieldNameStatus.index % 10" /> > <s:property value="#fieldNameStatus.index % 10 ==0" /> > > It may help you find out what the result of expression is. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >