Hi Navpreet:
Thanks for your information. I will really appreciate if you can provide me some
pre-written code.
Thanks.
Navpreet wrote:
> Hi Sushil,
> for this purpose, you should use an array of hashtables(Or ArrayList is even
> better) , wherein you can use one hash table to store one row. why i suggest
> hashtable over vectors etc.? These collections are not reliable as sequence of
> values put in and drawn out may not remain the same, so you need to keep markers
> for all values. this way, u can query the db once, store the result in hashtables
> and present it the way u like.
>
> hope it helps.
> I can even look for some pre-written codes with me, if you feel it'll help!
>
> Sushil Singh wrote:
>
> > Hi:
> >
> > I would like to display datebase result page by page, i.e. if the
> > resultset (jdbc) contains 100 records then I would like to display 10
> > records at a time and if user selects next/prev page, it should display
> > the corresponding page records. If anybody can provide me information
> > regarding how to implement, it will be highly appreciated. I have
> > implemented the same thing with DB2 record level access (i.e. pointer
> > level)
> >
> > Thanks in advance.
> >
> > Sushil
> >
> > ===========================================================================
> > 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