Hi Suresh, You can put your output data in a request attribute, say OutputObject, and access that object in the JSP through the name outputObject. However, in that case your JSP need to know the type of Output object.
For value object please check Blueprint's design pattern cateloge in java.sun.com. Regards, Sourav -----Original Message----- From: Suresh Addagalla [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 5:02 PM To: [EMAIL PROTECTED] Subject: Passing data to presentation objects Hi, I have been reading a lot of material on Struts, but I could not get answer to my question. What is the recommended strategy (or a design pattern) to pass data to the view objects (JSPs in my case)? One reply I got is to use the form-beans associated with the actions to pass data to the JSPs. I found some situations when this did not work well (for example, I faced this problem when I am trying to use the same form-bean for populating data as well as editing/submitting a form). What are "value objects" and how are they useful in passing data? Can someone refer me to a good resource on knowing more about this? Any examples would be highly useful. Also, is there any sample application I can download and which can be used as sort of a reference for common tasks required for struts programming? Thanks, Suresh -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

