remove.jsp:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<title><c:remove> 标签></title>
</head>
<body>
<c:set var="name" value="汇智科技" scope="page"></c:set>
移出前输出变量name值:
<c:out value="${pageScope.name }" default="空"></c:out><br>
<c:remove var="name"/>
移除后输出变量name的值:
<c:out value="${pageScope.name }" default="空"></c:out><br>
</body>
</html>