This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes sessionAware in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "sessionAware in struts2" Watch "sessionAware in struts2" New topic

sessionAware in struts2

Rajani Panchumarthy

Joined: Jan 27, 2009
Posts: 22
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.
David Newton

Joined: Sep 29, 2008
Posts: 12617

Implement session aware, then get the user object under whatever key you put it in session as.
Have you checked out Aspose?
subject: sessionAware in struts2
jQuery in Action, 3rd edition