<%@ page language="java" import="java.util.*,com.util.*" contentType="text/html;charset=gb2312"%> <% List list = sn.getSiteInfo(); String str = list.get(0).toString(); String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> ÍøÕ¾ºǫ́¹ÜÀí---<%=str %> <% String username=(String)session.getAttribute("user"); if(username==null){ response.sendRedirect(path+"/error.jsp"); } else{ String dir=sn.getDir(); %> <%} %>