Currently Tomcat’s login support redirects users back to where they initially were when the application figured out they weren’t logged in.
For this particular application I need to force them to always go back to index.jsp.
I’m pretty sure this is a simple configuration option in the WAR’s web.xml, but I haven’t found the answer in google.
A better solution would probably be to use a servlet filter. You could then check for j_username / j_password, and a successful login and redirect them where you wanted them to go.