日期:2014-05-19 浏览次数:21617 次
 <s:if test="<s:property value='item.name' />.contains('全能')">
                                              1
                                              </s:if>
     <%
                                            String teamName1 = <s:property value="item.name" /> 
                                                 
                                            if (teamName1.contains("全能")) {
                                        %>
                                        <input type="hidden" id="sex" name="athlete.sex" value="男" />
                                        <%
                                            }  
                                        %>
<c:choose>
                                                                <c:when test="${fn:contains(item.name,'全能')}">  
                        1                                                                </c:when>
                                                                <c:otherwise>  
                                                         2                                                                  </c:otherwise>
                                                            </c:choose>