code062.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>通过servlet的过滤器统计访问人员</title>
</head>
<body>
<h2>欢迎光临,<br>你是本站第【<%= application.getAttribute("countx2") %>】位访客!</h2>
</body>
</html>