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
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
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
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
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
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
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
7 matches
Mail list logo