File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
I agree. Here's the link:
subject: sessionAware in struts2
Struts2 -- A Query with setters and getters in the Action class.
validation in struts2
Session handling in Struts2
Getting Session in Struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014