org.apache.jasper.JasperException: <h3>Validation error messages from TagLibraryValidator for c in /book.jsp</h3><p>150: Illegal child tag in "c:choose" tag: "c:if" tag</p><p>227: Illegal child tag in "c:choose" tag: "c:if" tag</p><p>227: Illegal "c:if" after "c:otherwise" tag in "c:choose" tag.</p> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:56) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:445) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:75) org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:1905) org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1851) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:218) org.apache.jasper.compiler.Compiler.compile(Compiler.java:374) org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) org.apache.jasper.compiler.Compiler.compile(Compiler.java:341) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
<c:choose>
<c:if></c:if>不要放在这里面,不然就报错了
<c:when test=””>
</c:when>
<c:otherwise>
</c:otherwise>
</c:choose>