-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Avery Pierce edited this page Oct 8, 2017
·
3 revisions
Welcome to the BikeMaintenanceTracker wiki!
How to get userId from current session in a Controller
User usertest = (User) request.getSession().getAttribute("user"); System.out.println(usertest.getEmail() + " " + usertest.getId());