[Open Discussion] batch fetching of data from DB

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Open Discussion] batch fetching of data from DB

SourceForge.net

The following forum message was posted by  at http://sourceforge.net/projects/displaytag/forums/forum/249317/topic/4523963:


I need to implement pagination, i am working on the use of Struts display tag
,
But i am stuck at one point and need input on:
Can Struts display tag retrive only a set number of records from DB and on every
click of next or prev links the appropriate list of records are fetched from
DB as per the pagesize mentioned.

If this is possible please share any code snippet to start with.

Any help will be appreciated.


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
displaytag-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
Reply | Threaded
Open this post in threaded view
|

Re: [Open Discussion] batch fetching of data from DB

Baskaran, Venkataraman
Could you elaborate the issue, I can't get you clearly

Thanks & Regards,
Venkat.
 
"Success is a state of mind. If you want success, start thinking of yourself as a success."
- Dr. Joyce Brothers

-----Original Message-----
From: SourceForge.net [mailto:[hidden email]]
Sent: Tuesday, May 10, 2011 11:29 AM
To: [hidden email]
Subject: [displaytag-user] [Open Discussion] batch fetching of data from DB


The following forum message was posted by  at http://sourceforge.net/projects/displaytag/forums/forum/249317/topic/4523963:


I need to implement pagination, i am working on the use of Struts display tag
,
But i am stuck at one point and need input on:
Can Struts display tag retrive only a set number of records from DB and on every
click of next or prev links the appropriate list of records are fetched from
DB as per the pagesize mentioned.

If this is possible please share any code snippet to start with.

Any help will be appreciated.


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
displaytag-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Confidential: This electronic message and all contents contain information from Syntel, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender immediately and destroy the original message and all copies.

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
displaytag-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-user