I was wondering if there is a way I can hyperlink to protected page. Here is my reasoning, I have a jsp page that allows a user to add/delete items from a database. Once the user has added/deleted an item they are redirected to a confirmation jsp page. From this page I would like to allow the user to go back to the protected add/delete page in order to add/delete another item from the database. Can I do this using a hyper link or do I need to use a form whose action is a servlet in order to redirect the response back to the add/delete page. Here is the code I am trying, and is not working.
The whole purpose for putting a JSP under WEB-INF is to prevent just what you are trying to do; so don't even try. A JSP page should never be invoked without its page controller. So your link should be to the page controller, not to the JSP page.