yes, you can create form with hidden fields
and use form.submit(); in JavaScript
<a href="javascript:your_func();">...</a>
<script language="JavaScript">
function your_func()
{
...
document.forms.your_form.submit();
}
</script>
---------------------------------
Hi,
Can a form be posted without using the "submit" button ? For eg.
using a link thru an image.
My requirement is:
An html page with a gif which when clicked links to a servlet. The html
contains fields which i need to pass on to the servlet. how do i use
"req.getParameter()" in the servlet in this case??
Thanks in advance
-Subendu
ColdJava: java server side programming
http://coldjava.hypermart.net
____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html