<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>
<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的读取和比值