I have a .jsp page that does NOT need to be accessed by typing the URL. I would like to make sure that a user is logged in. Once the user has been deemed invalid,I want to forward it to the login page.
I do the following:
But using the response.sendRedirect(..), seems not to work.