If you just want to forward to another page and pass some parameters you
could use
<jsp:forward page="another.jsp">
<jsp:param name="hiddenparam1" value="1"/>
<jsp:param name="hiddenparam2" value="2"/>
</jsp:forward>
and then extract the values of the parameters from the request object as
normal
<%= request.getParameter("hiddenparam1") %>
<%= request.getParameter("hiddenparam2") %>
John Taylor
Paolo Sommaruga <[EMAIL PROTECTED]>@java.sun.com> on 21/12/2000
10:43:28
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
Sent by: A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
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
--------------------------------------------------------------------------
� F.I.GROUP PLC
===========================================================================
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