主页登录系统的设计: 页面:
<%@ page contentType=\
连接数据库:
<%@ page contentType=\<%@ page import=\
<% request.setCharacterEncoding(\ %> <%!
public static final String DBDRIVER=\public static final String DBURL=\public static final String DBUSER=\public static final String DBPASSWORD=\
session.setAttribute(\session.setAttribute(\String userid=(String)session.getAttribute(\String password=(String)session.getAttribute(\String type=request.getParameter(\
%> <%