Fabio, look at the Pager Tag Library at http://jsptags.com/tags/navigation/pager.

It is an interesting toolset to admin the paging process in your jsp
page. Very clear and clean code.



Alarcon Fabio wrote:
>
> Hi friends
> I need your help, please.
> 1. How can I set the ResultSet" scrollable?
> 2. What is more expensive to get the number of rows from  a
> ResultSet?
> a)
>         int rows = 0;
>         rs.last();
>         rows = rs.getRow();
>         rs.beforeFirst();
> b) with "SELECT count(*) ..."
>
> Suggestions please.
>
> Thanks in advance
>
> Best regards
>
> Fabio Alarcon Ortiz
>
> Seguro Social de Salud, Lima - Peru
> Gerencia Central de Desarrollo e Informatica
> Gerencia de Sistemas
> Phones : (51 1) 265 6000, 265 7000 Extensions 2356, 2357
> Mobile : (51 1) 855 1393
> ICQ    : 11002875
> email  : [EMAIL PROTECTED], [EMAIL PROTECTED]
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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".
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