Marcos wrote:
>
>     i am running a servlet to show some info from a database. the
> problem is that the database query answers 40 items back and i want to
> put just 10. and with back a forward you should move all over the
> results. how can i manage that thing?
>

 Each email to the servlet-interest list is saved off in
a big searchable database, or archive. It is considered
polite to search the mailing list archive before you post
a question, because chances are your question has been
asked and answered already.

  For example, the display-results-page-by-page question
was asked relatively recently, and there are some good
answers in the archives.

 Checking the archives benefits everyone: you get a fast,
complete answer to your question (no waiting for others
to answer) and the rest of us avoid reading the same
questions over and over again.

 You might try the search terms "page" and "result" or
maybe "scrolling" since around "July 2000" or so.
Generally it's a good idea to hunt around, since getting
a good set of search terms is something of an art.


>     after the query is done. is there any property to find out how many
> items are selected? should do i add more fields in my database?
>

 You would have better luck asking general database
questions in a more appropriate forum.



-cks

___________________________________________________________________________
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