hi,
i have created a database from a catalog. i would like to know how
can i show all the catalog in different pages. i mean.. in the database
each product has the page where it should be shown., so after calling
the servlet from the form i will look for a product number. after
getting the info in a resultset. the product could have 1,2,3, .. upto 5
pages. so i will add a link to next page if i am in page 1 and also a
link to previous page if i am in other pages.
my doubt is that:
out.println("<html>");
....
here will be the code to add the link to next page (or previous
page).
....
out.println("</html>");
--
i do not understand very well how does it work. i mean. if i need just
one servlet and that's all.
another question is:
the call from the previous form is like:
www....../servlets/database?ref=xxx
and i think that the link to next page will be like this:
www.... /servlets/database?ref=xxx&page=2
thanks in advance,
marcos
[EMAIL PROTECTED]
___________________________________________________________________________
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