A friendly place for programming greenhorns!
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
Author
how to set the VO Object in response.
pankaj semwal
Ranch Hand
Joined: Oct 07, 2008
Posts: 300
posted
May 20, 2009 06:00:59
0
I am using strut2.
I am getting the value in action like this
public String execute() { workOrderMaster=workMasterDBdao.showDetail(workOrderMaster,stringworkOrderNo); where workOrderMaster is my VO class. }
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
I like...
posted
May 20, 2009 06:24:04
0
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter