摘要:
//获取用户信息 String u = request.getParameter("usename"); String p = request.getParameter("passwd"); //到数据库中验证用户 String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver";//加载JDBC驱动" String dbURL = "jdbc:sqlserver://localhost:50573; DatabaseName=JspDB" 阅读全文