I need a help on login authorization. When I use a direct link of one of my web page without providing credentials (without logging in) then I need to be redirected to the login page for proper login with login credentials. How can I go about this with JSP?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Create a filter
Check for some session attribute . if present consider logged in user , otherwise
response.sendRedirect("url to login page");