A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
sessionAware in struts2
Joined: Jan 27, 2009
Feb 21, 2009 00:48:30
How do I get the user id that is logged in to the application across different modules in the application.
Using sessionAware interface in struts2, can anyone help me in getting the userid.
Thanks in advance.
Joined: Sep 29, 2008
Feb 21, 2009 10:54:56
Implement session aware, then get the user object under whatever key you put it in session as.
subject: sessionAware in struts2
Session handling in Struts2
validation in struts2
Getting Session in Struts2
Struts2 -- A Query with setters and getters in the Action class.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013