File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Action with more than one method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action with more than one method" Watch "Action with more than one method" New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Action with more than one method