One piece of advive:
Anything stored in the session variable will not be distroyed till the
session is distroyed.
So when ever u r using the hashtable PLEASE or any other session variable
make it a point  to initialize it before using it




"Aggarwal, Pawan" <[EMAIL PROTECTED]> on 06/09/2000 01:05:44 PM

Please respond to A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail)

Subject:  Urgent:Displaying 10 records in one page




Hi,

I am using a servlet to display 10 out of nth records got from the
database..
The servlet is using a helper class to get Hashtable..

Now the same servlet will be called to display to another 10 records...

How do I store the Hashtable so that the next time it reads the servlet
It displays next 10 records.

I think storing hashtable in Session will not be adviceable..

If someone has a piece of code will be of great help!!



Thanks

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