Re: Re: Re: passing a dynamic range of values to jsp page

2004-08-17 Thread Pavel Kolesnikov
Code in your action: Collection records = someBusinessObject.getPlentyOfRecords(); request.setAttribute ("myRecords", records); Code in your JSP (supposes appropriate taglib declarations) If it's not helpful there may be tw

Re: Re: Re: passing a dynamic range of values to jsp page

2004-08-17 Thread vineesh . kumar
sir, can u specify some code snippet or a link which leads to the example code? thanking u, vinu On Tue, 17 Aug 2004 Pavel Kolesnikov wrote : >On Tue, 17 Aug 2004, vineesh . kumar wrote: > > > the problem is that, i may hav just one recordset or may have hundred > > recordset. It

Re: Re: passing a dynamic range of values to jsp page

2004-08-17 Thread Pavel Kolesnikov
On Tue, 17 Aug 2004, vineesh . kumar wrote: > 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 field

Re: passing a dynamic range of values to jsp page

2004-08-17 Thread Erik Weber
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

Re: Re: passing a dynamic range of values to jsp page

2004-08-17 Thread vineesh . kumar
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 th

Re: passing a dynamic range of values to jsp page

2004-08-17 Thread Pavel Kolesnikov
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

passing a dynamic range of values to jsp page

2004-08-17 Thread vineesh . kumar
Hi all, 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. Thanks, vinu