<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; String dir=sn.getDir(); %> <% String username=(String)session.getAttribute("user"); if(username==null){ response.sendRedirect(path+"/error.jsp"); } else{ %>
<%} %>