在Jsp文件中body里面有如下两个参数,页面为何没有输出 ‘你找到了code参数 ’
<%
request.setAttribute("code", "xxx");
%>
<c:if test="${not empty request.code}">
<h1>你找到了code参数</h1>
</c:if>
在Jsp文件中body里面有如下两个参数,页面为何没有输出 ‘你找到了code参数 ’
<%
request.setAttribute("code", "xxx");
%>
<c:if test="${not empty request.code}">
<h1>你找到了code参数</h1>
</c:if>