之前寫錯的寫法
<c:when test="${bhp.checked.equals(‘Y‘)} && ${bhp.status.equals(‘Y‘) }">
<tr bgcolor="#FFFFFF" height="20">
<td width="2%" bgcolor="#EEEEEE">厂内料号</td>
<td width="3%">
<a href="<%=path%>menu/menu.jsp?item=${bhp.item}" class="menu_item" target="_blank">${bhp.item }</a></td>
<td width="2%">${bhp.manufacturing_type }</td>
<td width="3%" bgcolor="#EEEEEE">客戶幾種名:</td>
<td width="4%"> ${bhp.customer_model} </td>
<td width="2%" bgcolor="#EEEEEE">ENC 記錄</td>
<td width="10%">${bhp.ECN_LOG }</td>
</tr>
</c:when>
改寫后
<c:when test="${bhp.checked.equals(‘Y‘) && bhp.status.equals(‘Y‘) }">
<tr bgcolor="#FFFFFF" height="20">
<td width="2%" bgcolor="#EEEEEE">厂内料号</td>
<td width="3%">
<a href="<%=path%>menu/menu.jsp?item=${bhp.item}" class="menu_item" target="_blank">${bhp.item }</a></td>
<td width="2%">${bhp.manufacturing_type }</td>
<td width="3%" bgcolor="#EEEEEE">客戶幾種名:</td>
<td width="4%"> ${bhp.customer_model} </td>
<td width="2%" bgcolor="#EEEEEE">ENC 記錄</td>
<td width="10%">${bhp.ECN_LOG }</td>
</tr>
</c:when>
本文出自 “10975830” 博客,请务必保留此出处http://10985830.blog.51cto.com/10975830/1906248
原文地址:http://10985830.blog.51cto.com/10975830/1906248