Html - Servlet

2000-02-13 Thread OG Project(Chennai)
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

Re: Html - Servlet

2000-02-13 Thread Arni Raghu
why not have teh submit button itself as an image...or You could have javascript create the dynamic link and send the parameters as a GET request... like this: function sendPage() { process the form elements create the link dynamically..based on the form elements above

Re: Html - Servlet

2000-02-13 Thread Doug Turner
[EMAIL PROTECTED] Sent: Sunday, February 13, 2000 12:45 AM Subject: Html - Servlet 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 servl

Re: Html - Servlet

2000-02-13 Thread Dmitri Namiot
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