It also stores the original request URL and redirects the user to that URL after successful login.
它还存储原始请求url并在用户成功登录后将它们重定向到那个URL。
After a successful login, the user ID is placed in the Session object, and displayed on the Welcome.jsp page when the user accesses this page.
登录成功之后,用户ID被放入Session对象,并且在用户访问Welcome . jsp页面时显示在该页面上。
The login authentication will be trivial, and when "successful", we will put a user object in session indicating that the user is logged in.
登录认证是不重要的,登录“成功”时我们将User对象放置在会话中以表示该用户已登录。
应用推荐