<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage=""%> 利用监听使服务器端机器免登录 <% String login = (String) request.getAttribute("login"); if (login == null) { }else if ("true".equals(login)) { response.sendRedirect("show.htm"); } %>