If you are keeping your application state in session (say Vector of
Objects).you can set the count depending on whethere user clicks next or
previous option as vikramjit mentioned. I think it is better option than
getting data from database every time.

Udaya.

-----Original Message-----
From: Vikramjit Singh
To: [EMAIL PROTECTED]
Sent: 09/21/2001 12:26 PM
Subject: Re: How to set the PageSize in JSP ???

hi dick,
i dont think there is any pagesize method in jsp. even i had to do
pagination showing 10 records on one page. For that i had to write an
algorithm.
u can check this site http://jsptags.com/tags/navigation/pager/. U
should be
knowing how to use taglibs.

Vikramjit singh,
eAngel Team,
Global Tele-systems Ltd.
Ph. 7612929-3140


-----Original Message-----
From: Dick Wong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 11:33 PM
To: [EMAIL PROTECTED]
Subject: How to set the PageSize in JSP ???


Dear all,

As I know that there is something like "PageSize" in asp to control how
many records to be retrieve in each page. How can I implement it on JSP
??
Any PageSize in JSP ?? As I want to do a result page with 10 records per
page.

Thanks for your help.

Regards,
   Dick Wong

========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
WARNING: The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee.  Access to this message
by anyone else is unauthorised.  If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error. Thank you.----------------- HCL Perot Systems

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to