Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
How to block the jsp page if the page is not accessed by entering correct data in the login form through post method
Jsp and servlet JAVA
1 ответ
+ 1
Use user principals, you can get it from the HttpServletRequest:
http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getUserPrincipal%28%29