<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />Р<title>注册成功</title>Р<style type="text/css">Р<!--Р.STYLE1 {font-size: 36px}Р.STYLE2 {font-size: 24px}Р-->Р</style></head>Р<body bgcolor="#AEEEEE">Р<%@page import="java.sql.*" %>Р<%РString sming=request.getParameter("ming");Р?String ming=new String(sming.getBytes("gb2312"));Р?String spassword=request.getParameter("pass");Р?String password=new String(spassword.getBytes("gb2312"));Р Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");Р?Connection con=DriverManager.getConnection("jdbc:sqlserver://localhost:1433;DatabaseName=test","sa","kira");Р?Statement sql=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);Р?ResultSet rs=sql.executeQuery("select * from users where userID='"+ming+"'");