EL表达式解析错误,页面无法展示

以下的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>


不是要放到最上面吗?
你的第一个是不是少了结尾的/c:if?

 <c:set var="switch" scope="session" value="${scoreCleanIp }"/>
不是要放到最上面吗?
你的第一个<c:if>是不是少了结尾的</c:if>
 把<c:if test="${switch == 0 || switch == 1}"> 换成 <c:if test="${switch == 0}  ||  ${switch == 1}"> 试试