I apologize in advance, this is a very general question, so I'm not sure exactly where to post it (here or servlets or elsewhere).
How does one gracefully end a session with jsp/servlets? Free up all the (in my application) user- or session-specific resources, and return the user to a login screen? The equivalent of "exit" in C or C++ (well, this wouldn't return the user to anything other than to the OS prompt or another window getting the focus, but you know what I mean).
Is there a convention, or standard that sites should use?