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 how to set the VO Object in response. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
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://aspose.com/file-tools
 
subject: how to set the VO Object in response.