<s:bean name="org.apache.struts2.util.Counter" id="counter">
   <s:param name="first" value="pageView.pageindex.startindex" />
   <s:param name="last" value="pageView.pageindex.endindex"/>
   <s:iterator>
       <a href="list.action?currentpage=<s:property/>">第<s:property/>页</font></a>
   </s:iterator>
</s:bean>currentpage为当前页
<s:property/>为迭代的页数我现在要做一个判断,就是点击该页的时候,该页的字体颜色改变
我写了一个
       <s:if test="?????">
           <font class="a03">第<s:property/>页</font>
       </s:if>
       <s:else>
           <font color="#FFFFFF">第<s:property/>页</font>
       </s:else>
       </a>
???不会写了,因为currentpage=<s:property/>为当前页给currentpage
而第<s:property/>页为迭代页难道叫我写 <s:if test="<s:property/>==<s:property/>">还有在test里如何表达<s:property/>??
话说<s:property/>这个东西写里不识别,写property也不行~~~