jsp 标签iterater;if

jsp  标签iterater;if取值,及session的取值;jsp map遍历

   <s:if test='user.departNo!=null'>
   <s:if test='#session.companyMap!=null'>
      <s:iterator value="#session.companyMap" id="map">
            <s:if test='#map.key ==user.departNo'>
                  <td>${map.value}</td>
            </s:if>
      </s:iterator>
   </s:if>

你可能感兴趣的:(jsp 标签iterater;if)