Require login servlet to go to other pages

后端 未结 3 837
孤街浪徒
孤街浪徒 2021-01-29 08:40

There are a million examples on the web that shows how to create a basic Java Login Servlet, where the user has to enter a username and password which gets verified by some data

3条回答
  •  深忆病人
    2021-01-29 09:19

    You can use a RequestFilter which will check for user session.

    Read more : Filtering Requests and Responses

提交回复
热议问题