This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
Similar Threads
How to set checkbox checked by default
accessing dynaactionform in action class
configuring datasource for mysql in struts-config.xml
How to access hidden property in jsp
set-property