JSP JSTL < C: remove > tag: remove tag
•
Java
Example
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <c:set var="name" value="C语言中文网" scope="page"/> 移除前输出的变量name为:<c:out value="${name}"></c:out> <c:remove var="name"/> <br> 移除后输出的变量name为:<c:out value="${name}"default="变量name为空"></c:out>
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码