You could use javascript
something like  (not tested)

<SCRIPT>
document.forms[0].submit()
</SCRIPT>

at the end of the document.

Geert Van Damme


> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Paolo Sommaruga
> Sent: donderdag 21 december 2000 11:43
> 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

Reply via email to