1.s标签里面的if判断语句怎么写<s:if test="${state=='0'}">;项目创建</s:if>
<s:if test="${state=='1'}">;需求分析</s:if>
<s:if test="${state=='2'}">;项目初审</s:if>
<s:if test="${state=='3'}">;总部评估</s:if>
<s:if test="${state=='4'}">;市场立项</s:if>
<s:if test="${state=='5'}">;招投标立项</s:if>
<s:if test="${state=='6'}">;签约立项</s:if>
<s:if test="${state=='7'}">;开发立项</s:if>
2.s标签里面的if判断语句怎么写<s:if test="${state=='0'}">;项目创建</s:if>
<s:if test="${state=='1'}">;需求分析</s:if>
<s:if test="${state=='2'}">;项目初审</s:if>
<s:if test="${state=='3'}">;总部评估</s:if>
<s:if test="${state=='4'}">;市场立项</s:if>
<s:if test="${state=='5'}">;招投标立项</s:if>
<s:if test="${state=='6'}">;签约立项</s:if>
<s:if test="${state=='7'}">;开发立项</s:if>
3.struts2 的s:if 标签怎样判断一个字符串(忽略大小写)<p>;直接用equalsIgnoreCase就可以了 。</p> <p>;例如</p> <%
request.setAttribute("user", "ROOT");
%>
<s:if test="#request.user.equalsIgnoreCase('root')">
SUCCESS
</s:if>
<s:else>
FAILURE
</s:else>
【sif标签怎么写】
文章插图