Also,
  If you have a collection of the Beans, can't you just keep a variable or
two that keeps the index of the currently shown Beans (here we use one bean
for one record whereas Mukesh probably uses one bean that holds all the
records returned)?

  Then you can do some calculation and do the loop on the Indexed Beans.

> -----Original Message-----
> From: Mukesh Jain [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 14, 2000 3:59 PM
> To: [EMAIL PROTECTED]
> Subject:
>
>
> 1. This is the format I used for my problem
> 2. Once u put the resultset in a javabeab, for prev and next
> u don't have to
> call servlet again. U can get ur records from the javabean.
>
> Mukesh
>
> > -----Original Message-----
> > From: Steve Raisor [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, November 14, 2000 11:53 AM
> > To:   [EMAIL PROTECTED]
> > Subject:
> >
> > I have a couple of quick questions from someone new to
> servlets and JSP's.
> > I want to show a selection screen, read from a database
> using ODBC and
> > output the results 20 at a time to a JSP.  I have no
> problem using a form,
> > calling a servlet that gets the result set, places it in a
> javabean and
> > calls a JSP that displays the entire results to a JSP.
> >
> >         1.  Is this the format most people use to show
> large amounts of
> > data?
> >         2.  How do I show the results 20 at a time?  If I
> put prev and
> > next
> > buttons on the final JSP page with a call to the servlet, I lose my
> > selection criteria that are being passed as parameters to
> the servlet.
> >
> > Thanks for your help in advance!
> > Steve Raisor
> >
> >
> ==============================================================
> ============
> > =
> > 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
>

===========================================================================
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