Hi in a msg I ask you to use vector, populate the vector with the data
you receive from the DB put the vector on the session,
Decide how many row you Wnt the user see show the first n records store
the postion on the session and so on.
Rinaldo

-----Messaggio originale-----
Da: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]] Per conto di Luca
Ventura
Inviato: gioved� 16 maggio 2002 15.50
A: [EMAIL PROTECTED]
Oggetto: How can I show many records to a user?


Hello everybody!

I am developing a Web application that for every user:

1) Receives the request;
2) Accesses to a database to get the data (records) required;
3) Show the records found in the database to the users.

So I used a Servlet that makes this job for me but I have the following
problem:
given that the records (and each of them can have more fields) to show
could be thousands I can't insert all of them in the same html page; so
I would like to show them like many search engines do (like google or
Altavista): that is to say using different pages and giving the possibly
to move from a page to another. Anyway I want to be able to decide the
layout to use to show the results that can be different from that one
used from google or Altavista.

How can I do it? Any idea?

Thanks a lot in advance.

                   Luca

________________________________________________________________________
___
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