aspose file tools
The moose likes Struts and the fly likes how to set the VO Object in response. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "how to set the VO Object in response." Watch "how to set the VO Object in response." New topic
Author

how to set the VO Object in response.

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
I am using strut2.
I am getting the value in action like this


I want to set workOrderMaster in rsponse Object.
Can any body tell
me how to do this.

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Is there a particular reason you want to set the VO in the response? This is somewhat counter to S2's philosophy--in general S2 espouses creating an action property to expose data to the view layer and avoid any coupling to the servlet spec.

FAQ entry: accessing the response
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to set the VO Object in response.
 
Similar Threads
Problem with the Hibernate Cache (I think)
Can I use Business Objects (BOs) as Transfer Objects (TOs)
Object creation using dynamic values stored in local variables
Get Hashtable from ArrayList
ActionContext and Session Objects