-----Original Message-----
From: Robert Martin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 28, 1999 1:05 PM
To: [EMAIL PROTECTED]
Subject: Best way to pass data between HTTP servlets
Importance: Low
I am working on a servlet that generates an HTML table where each table row
contains information about a row in the database along with a checkbox. The
user selects the checkboxes next to the rows he is interested in performing
additional processing on and then presses the submit button. This posts the
information to the next servlet, which presents additional screens. I want
to send several columns of data for each selected row, but the checkbox POST
only allows for <name>=<value>. What is the best way to pass multiple
pieces of information between servlets in this manner? Should I make the
value a delimited string and have the next servlet tokenize it? Or is it
better to send one column of data and then have the next servlet re-query
the database for the other columns? Other better methods? Tnx.
Robert S. Martin
Software Engineer
First Quadrant, L.P.
___________________________________________________________________________
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