|
try form.submit() with <meta
http-equiv="refresh" content="time;url"> tag
----- Original Message -----
Sent: Wednesday, April 19, 2000 6:28
AM
Subject: Servlet POST initiation
Does anyone know how to initiate a POST request
from a servlet? I have a servlet which generates the HTML for a form
(populated entirely by hidden fields, which are actually fields the servlet
gets from a database), but I need to servlet to then POST all this info to
another script (perl actually) I placed submit button on the form the
servlet generates it, and when I push it, the whole thing works like a
charm. However, I need it to happen automatically. The other
option is finding some way to have a servlet POST a bunch of parameters
directly to a page, without doing it through the HTML code. Either way
would work, but I can't figure out how to do either!
Thanks,
Jeff
|