> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology. [mailto:[EMAIL PROTECTED]]On
> Behalf Of Stephane Cloutier
> Sent: Tuesday, February 01, 2000 8:01 PM
> To: [EMAIL PROTECTED]
> Subject: Requests chaining...
>
>
>         I have a form which the action tag call a servlet with
> POST method.  The
> problem is that in fact, the action tag would have to call the servlet
> about 6 times with differents parameters on a single click of the submit
> button.  I've got the idea to include an hidden field in the form with the
> encode address of the second request (which itself contains the encode
> address of the third request and so on...) but I think this makes the
> server crazy as the data passed in the GET encode URL are to huge.
>
>         Is there a way to automatically pass data in POST?  It's
> easy to make a
> link like: "www.anything.com?parameter=value&..." to automatically pass
> data with GET but the only way I know with POST, is it form and imply a
> submit button click by the client.  There's certainly a lot of ways of
> doing what I want to but I would like to have the more clean and generic
> way, any ideas?  Maybe a javascript could submit the form in a user
> transparent way?
>
>         Any suggestion would be greatly appreciated...
>         Stephane
>

ACTION query string parameters are available in the HttpRequest as well as
FORM
element values. You can place your transitional data as hidden FORM elements
or
query string parameters.

___________________________________________________________________________
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