Making the records available via request attributes still applies. Your request attributes can be Collections, Maps, etc. Check out the Struts logic tags (such as logic:iterate) and/or the JSTL core tags (such as c:forEach), and read the FAQ on indexed properties for help in rendering data from these types of structures.

Erik


vineesh . kumar wrote:

hi,

the problem is that, i may hav just one recordset or may have hundred recordset. It's 
unpredictable. Also at the jsp page(view) how can i access these values dynamically. 
if the recordset contains 100 records and each record contains four fields there 
should be atleast 400 atribute in the reuest and how a jsp can dynamically handle it?

Thank u
  vinu


On Tue, 17 Aug 2004 Pavel Kolesnikov wrote :


On Tue, 17 Aug 2004, vineesh . kumar wrote:



I want to pass a range of values which is dynamic(values retrieved from
a database using a dynamic query) from an action class to corresponding
jsp page. I hav to access it from the jsp page and dispaly. How can i do
this in struts.


what about simple request.setAttribute(key, value) ?

pavel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to