当前位置: 代码迷 >> JavaScript >> jsp页面set out设立和获取的OGNL标签
  详细解决方案

jsp页面set out设立和获取的OGNL标签

热度:366   发布时间:2012-08-28 12:37:01.0
jsp页面set out设置和获取的OGNL标签
<c:forEach items="${list}" var="gps" varStatus="status">
										<c:set var="background" value="background:#F5F5F5;"/>
										<c:if test="${status.index%2 !=0}">
										
											<c:set var="background" value=""/>
										</c:if>
										<li style="width:672px; height:26px;border:1px solid #DBDBDB; border-top:none; <c:out value="${background}"/>">
										${status.index + 1}
										<a href="/MMCLBS/routeOperate/inquireRouteBook?routeid=${gps.routeId }">${gps.name}</a>
										<a href="/MMCLBS/routeOperate/deleteRoute?routeid=${gps.routeId }">删除经验路线</a>
										</li>
									 
									</c:forEach>

?

  相关解决方案