This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?