在<c:choose></c:choose>标签中我加了 <c:otherwise></c:otherwise>
标签 如果在里面直接写东西就能在不符合<when>条件时正常显示下面是代码
index.jsp
<c:otherwise>
 
<c:out value="处理数据错误"></c:out>
</c:otherwise>这样就能正确运行 如果我重定向到别的地址就什么不显示了 
<c:otherwise>
 
<c:redirect url="error.jsp">
     <c:param name="errorid" value="01"></c:param>
     </c:redirect>

</c:otherwise>
error.jsp能打开的也能?errorid=01正常显示这是为什么啊 可是我同样的代码在别的网页上都能正常运行
下面这个刚测试了下就能通过
ceshi2.jsp
 <c:set var="i" value="2" scope="page"></c:set>
    <c:choose>
    <c:when test="${i==1}">
    fdfd
    </c:when>
    <c:when test="${i==3}">
    fdfdwrerd
    </c:when>
    <c:otherwise>
    <c:redirect url="ceshi1.jsp">
     <c:param name="borderid" value="01"></c:param>
     </c:redirect>
    </c:otherwise>
    </c:choose>