pro_jsp thread: I need to create a JSP page that generates a FORM and automatically submits it.
This is a multi-part message in MIME format.
------=_NextPart_000_004A_01C1FD9C.865E5860
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
thanks everybody for the suggestions. I was able to use the suggestion
listed below.
chris
-----Original Message-----
From: Sebastian [mailto:sebastian@t...]
Sent: Tuesday, May 07, 2002 2:06 PM
To: Pro_JavaServer_Pages
Subject: [pro_jsp] RE: I need to create a JSP page that generates a FORM
and automatically submits it.
You could try using the onLoad() event in the body tag of the html page and
then either call a function, or just get it submit the form. eg:
<body .... onLoad="form.submit();">
-----Original Message-----
From: crobey@j... [mailto:crobey@j...]
Sent: 07 May 2002 18:29
To: Pro_JavaServer_Pages
Subject: [pro_jsp] I need to create a JSP page that generates a FORM and
automatically submits it.
I have a vender supplied servlet that only accepts parameters via the POST
method.
I currently have a JSP page that generates a FORM with the necessary input
values that requires the user to click the submit button.
I want to automate this so that when the jsp page is envoked it generates
the
FORM and then submits it via the POST method.
Can this be done via jsp or is there a javascript solution?