[Advanced-java] Page navigation and performance
Gaurav Awasthi
Gaurav_Awasthi at infosys.com
Mon Mar 20 01:10:52 PST 2006
Hi Prashant,
You can use ValueListHandler design pattern for this.
Regards,
Gaurav Awasthi
Infosys Technologies Ltd
________________________________
From: advanced-java-bounces at lists.XCF.Berkeley.EDU on behalf of Prashant Parashar
Sent: Mon 20/03/2006 11:53
To: advanced-java at lists.XCF.Berkeley.EDU
Subject: [Advanced-java] Page navigation and performance
Hi,
I want to provide page navigation for records fetched from database on my web-page. It would be something like providing page number links at the bottom of the web page.
What are the best practices to do it? probably without firing a "select count(*) ..." query to database. I am looking for a generic approach where I can use the same for different entities.
Thanks in advance.
Prashant Parashar
Computer Sciences Corporation (CSC)
Ph. +91-120-258-2323 (Ext 2727)
US Dial(+1): 302-781-1010(Ext 2727)
E-Mail: pparashar at csc.com
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
More information about the Advanced-java
mailing list