I got a suggestion that I should place the Hashtable containing the records
from the query in the session

Now there is a problem
There is a form which contains combo boxes selection upon which query is
based..
The results are based on the fields selected by the user..

Suppose a single user comes to this form..
Opens a NEW WINDOW simultaneously...now here no new session is created..I
have checked this..
In one window he provides different parameters and in the other different...

Now in the session hashtable variable name is same and also session id
So the values will be overwritten by the other...

The user wants different result in different windows however he will get
same...

How do people like altavista and google do it??

Please advice as this is a major issue..






        -----Original Message-----
        From:   Aggarwal, Pawan [SMTP:[EMAIL PROTECTED]]
        Sent:   09 June 2000 12:06
        To:     [EMAIL PROTECTED]
        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