以下的jsp代码中,在Linux服务器上部署工程出现:
<c:if test="${switch == 0 || switch == 1}">解析错误!页面无法正常展示,是语法错误吗?
<center>
<c:set var="switch" scope="session" value="${scoreCleanIp }"/>
<c:if test="${switch == 0 || switch == 1}">
<input style="width:100px; height:30px;" id="execute" type="button" onclick="clean()" value="启用">
</c:if>
<c:if test="${switch == 2 }">
<input id="running" style="width:100px; height:30px;" type="button" value="进行中" disabled="disabled">
</c:if>
</center>