Am using websphere's security framework with struts in my application with LDAP. Am using the form-based authentication in my application. Am facing a problem when the session timeout happens in my application.
When am trying to access an URL without authentication it redirects me to login.jsp. When i give the username and password it takes me back to the URL which i gave before on successful authentication.
When am in the 4th page of my application and when the session timesout it comes back to login.jsp. And when i give the user name and password it goes back to the 4th page itself that is the page from which the session got timedout. But i want to go to the first page of my application.
So is there a way to specify successful login page in the login.jsp or in any other config files. That is from login.jsp if i give a valid user name and password it should always go to the first page of my application.
Any help would be appreciated.