如何将放入内的标签标签?
<c:out value="${xxx}" escapeXml="false"/>
<c:out value="${yyy}" />
需要在
标记中检查来自服务器端的上述两个值
是否可以在
标记中执行?
期待这样,
<c:if test='<c:out value="${xxx}" escapeXml="false"/> eq <c:out value="${yyy}"/>'>
</c:if>
但它不起作用!你能告诉我正确的语法吗
<c:out value="${xxx}" escapeXml="false"/>
<c:out value="${yyy}" />
need to check the above two values coming from server side in <c:if >
tag
is it possible to do in <c:if>
tag?
expecting like this
<c:if test='<c:out value="${xxx}" escapeXml="false"/> eq <c:out value="${yyy}"/>'>
</c:if>
but it is not working !! can you tell me the right syntax
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

使用
在作用域中设置变量。它的主体可以是
。然后你可以像下面这样测试它:
Use
<c:set>
to set a variable in the scope. Its body can be a<c:out>
.Then you can test it like follows: