摘要: (一)、經常用的過濾器
1package com.ascent.util;
2
3import java.io.IOException;
4import javax.servlet.Filter;
5import javax.servlet.FilterChain;
6i... 閱讀全文
<s:if test="#index.odd==true">
<tr style="background-color: #cccccc">
</s:if>
<s:else>
<tr>
</s:else>
<tr style="background-color: #cccccc">
</s:if>
<s:else>
<tr>
</s:else>
//獲取封裝的struts Action中的對象
ValueStack vs = (ValueStack)request.getAttribute("struts.valueStack");
String str=vs.findValue("books");