<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%
//System.out.println(a);//因为是静态包含,变量是共享的,所以可以读到包含页的信息
//安全登录防护
if(session.getAttribute("name")==null){
response.sendRedirect(request.getContextPath()+"/index.jsp");
}
%>