It's not clear what you ar trying to achieve here.

IF all you want is  an image that can be clicked to initiate an action then, use

<a href = 'action url'><img src='image.gif'> </a>

I don't understand the need for the value, name parameters.

And are you using <form> tag with either post or get ?



>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Hi!
        I am using an image input type to post form data from one servlet to
another.
        This is the snippet that produces the

        <INPUT TYPE="image src="but_save_big.gif" WIDTH=56 HEIGHT=22 BORDER=0
value=save NAME=action ALT=Save>");

        But when I do,

        request.getParameter("action")

        in the servlet to which the form is posted, I get a null!

        Any clues?

Vinay

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to