| Author |
How to get session values in struts2
|
saravanan Senthil
Greenhorn
Joined: Jan 11, 2013
Posts: 5
|
|
Hi,
I am new to struts2 I am working with session with session aware.while login I set values in sessionmap and i need these values in my other java class how do i get session values.please help me
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8265
|
|
|
What is the "other class"? An action? You would need to make it session aware. If the other class is a business logic class or data access object, you'd need to pass the information from the action.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
saravanan Senthil
Greenhorn
Joined: Jan 11, 2013
Posts: 5
|
|
Joe Ess,
Hi I need session values in my action class and these action class are used by ajax call in jquery
|
 |
 |
|
|
subject: How to get session values in struts2
|
|
|