| Author |
Action with more than one method
|
Ve Ku
Greenhorn
Joined: Sep 17, 2010
Posts: 19
|
|
Hello,
i am new with Struts2. Trying to understand and work with it . I have an action with two or more methods. What i can not understand is , when i am setting a session attribute value in the first method, can i use it -the same session attribute value in the other method. Sorri if my question is not very clear, please let's discuss that.
Thanks
|
 |
Jesus Mireles
Ranch Hand
Joined: Mar 10, 2010
Posts: 122
|
|
|
if you have something in session you can use it any any method or action for that matter as long as its still in session.
|
 |
Ve Ku
Greenhorn
Joined: Sep 17, 2010
Posts: 19
|
|
|
yes i got it, i'll try an example now, thanks.
|
 |
 |
|
|
subject: Action with more than one method
|
|
|