<%@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");
}
%>