I'm beginner in java programming web application.
I found, how to use JDBCRealm, it works fine, but can you tell (show some example, plese:-) I can't find anything) me, how can I add link to logout on JSP page? And how can I get username for login user?
EDIT? I would want show info for login user, for example: "Login as ..... and you can logout here"...
Joined: Nov 30, 2009
Ok, I find info about login user, in request.getUserPrincipal() ... but how can I do logout for this user? Any idea, please?