📄 login_confirm.java
字号:
package stuman;
import java.io.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class login_confirm extends HttpServlet{
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
String message=null;
String id=null;
id=req.getParameter("id");
HttpSession session=req.getSession(true);
session.setAttribute("id",String.valueOf(id));
String password=null;
password= req.getParameter("password");
String kind =null;
kind=req.getParameter("kind");
String temp =getPassword(req,res,id,kind);
if( password.equals(temp))
goo(req,res,kind);
else
{
message="鍑洪敊浜
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -