What I feel, for extracting how many pages we have every time execute the
query to display no. of pages ....


Or Let put this in otherway....
Let's take a case of LDAP server instead of databse. In ldap you can have
paged result. Can u take levearage of that thing using second approach?

> ----------
> From:         Noel E. Lecaros[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology.
> Sent:         Sunday, May 06, 2001 8:46 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Shwing Paged Result in Servlet Page
>
> Hi, Sudarson
>
> I don't see why it shouldn't be possible either way, i.e. a single query
> returning all, or several queries returning a subset.  Personally, I favor
> the
> second approach.  What's on your mind?
>
> Regards,
> Noel Lecaros
>
> Sudarson_Pratihar wrote:
>
> > Hi All,
> >
> > This is a very common situation. Suppose we have a servlet that shows us
> a
> > report/summary depending on some condition and we want to show only 25
> > result per page. Then user have to navigate thru the pages thru 1,2,3
> type
> > of navigation of link. Now my question is :
> >
> > Is it possible to excute the query once only, because firing query ecah
> time
> > may not be feasible, and so only 25 data and when he navigates to page
> to 2,
> > page no. 2 contents?
> >
> > Thanks and Regards,
> > Sudarson
> >
> >
> __________________________________________________________________________
> _
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to