: I was wondering if there's a way to configure security so that after the user logs in he's redirected to a certain page instead of being able to continue his last request.
If you're using recent enough tools (servlet 2.3 spec) then you could write a servlet filter to do just this. The idea is that the filter checks the existence of these session objects and, should that fail, redirects the user to some sort of "Start Over" page. If the objects do indeed exist in the session, the filter passes control to the requested page. Once you've written the filter itself, update your app's web.xml such that this filter is placed before any of the pages requiring those session objects. I don't have a URL handy, but a search for "servlet filter" should return lots of links on the subject. -QM -- qm180 /at / brandxdev / net www.brandxdev.net ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
