hi sudha,

if my understanding is correct , you can call a javascript
function on onClick of the image and set the
hidden variable accordingly.

hope this helps,

with regards,
            rathna.

sudha wrote:

> hi
>   i am placing two image input types on my from
>   and the same form is submitted using two image buttons
>   but in jsp if try to retrieve the image name we get in  the name as
> name/value pair
>   name.x and name.y
>   but i want to know how to get the name of the image button thorugh
> which we have submitted ..
>  if it is single image button we can slove it by putting a hidden
> varible
>  but if it two image button how to get it done
>
>  i want to know how to get the name of the image button through which we
> have submitted the form
> pls........it should work in netscape also
> sudha
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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".
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