This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am working on jsp along with tomcat server.I am using container managed security and jdbcrealm configuration. In the login form, I am required to submit to j_security_check. I am able to successfully login.
After that, each time I logout using session.invalidate() and I try to access protected site again, application will show the login screen but after clicking login it just reloads the login page instead of sending me to the protected page. If I reload the login page it will give me access to the page I wanted. If i fill in user/pass and hit login a 2nd time it shows:
The requested resource (/WebApplication6/secureUser/j_security_check) is not available.
When I typed incorrect user and password everything works good, I'm always redirected to appropriate error page. I've even tried setting no cache headers - no results . [ April 29, 2007: Message edited by: piotrus ]