aspose file tools*
The moose likes Struts and the fly likes Struts 2 set property. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 set property." Watch "Struts 2 set property." New topic
Author

Struts 2 set property.

Miclea Paul Alexandru
Greenhorn

Joined: May 18, 2011
Posts: 7
So, i am kind of stuck here, maybe you guys can help me out, i have just started using Struts2. How do i set the value of a action class property from a parameter or another action class?
Sanal Samuel
Greenhorn

Joined: Jul 23, 2010
Posts: 8
If your using the default-interceptor with struts2 and your using modelDriven Interface which returns the model object. then you you can assign values of one action object to another by just creating a refrence of the object in the action class and set the value.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 set property.