您的位置:首页 > 其它

Illegal use of <when>-style tag without <choose> as its direct parent

2017-04-22 15:30 941 查看
报错信息:

javax.servlet.jsp.JspTagException: Illegal use of <when>-style tag without <choose> as its direct parent

<c:choose>
<c:when test=”${people.age<18 }”>
<h2>小于18</h2>
</c:when>
<c:when test=”${people.age=18 }”>
<h2>等于18</h2>
</c:when>
<c:otherwise>
<h2>大于18</h2>
</c:otherwise>
</c:choose>


少了<c:chosse>标签
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐