1. 程式人生 > >jstl c:if標籤根據標籤value不同分別顯示內容

jstl c:if標籤根據標籤value不同分別顯示內容

<td align="Center" style="width:140px;" value="${rootProcinst.inststate}">
	<c:if test="${rootProcinst.inststate eq 'running'}">正在執行</c:if>
	<c:if test="${rootProcinst.inststate eq 'complete'}" >已完成</c:if>
</td>