<c:if test="${cookie[‘woshop‘].value eq ‘1‘}">
<div>
<table class="table-box" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<img src="/twcimage/adv/wo/wolinshi.jpg" >
</td>
</tr>
</table>
</div>
</c:if>
这样可以直接进行cookie的读取和比值
JSTL JSP页面判断某个cookie的值和读取值....,布布扣,bubuko.com
时间: 2024-12-22 06:39:33