Hi,
This is something which has to be done in javascript. The role of jsp is
over
once the page is sent to the browser. You can only control what is printed
in
the page, for example you can print some javascript based on the user's
request.
In javascript you can give something like
"document.form[0].submit" to submit the first form.
regards,
Nagaraj.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Paolo Sommaruga
Sent: Thursday, December 21, 2000 11:43 AM
To: [EMAIL PROTECTED]
Subject: How to submit a form without user interaction
Hi,
I have a problem, perhaps a trivial problem. I have a jsp page with a form
wich only contains hidden fields. I need to submit such form automatically,
without any user interaction.
There is some special value in the tag to do this action ?
<input type="submit" value ...>
There is a way with jsp ?
Thanks for your suggestions
Paolo Sommaruga
Garda Access
Garda (Vr), Italy
http://www.garda-acess.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets