Scott, One way is to write a JavaScript method to respond to the onClick event of the image that would set a hidden input field named "action" to a specific value and then call form.submit(). That way bean introspection would work matching html input fields to bean properties.
Greg -----Original Message----- From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 4:40 PM To: [EMAIL PROTECTED] Subject: multiple html:image tags used as submits Subject: multiple html:image tags used as submits From: "Scott Danzig" <[EMAIL PROTECTED]> === Hi, I have a jsp page that has a number of images, each acting as a submit button for a form, as follows: <html:image page="/someimage.gif"> Now, I know when doing a normal submit button, you can specify the property and value to figure out which button was clicked.. if the property name is "action", then getAction in the form bean would work. How can I get similar functionality with an image? Please don't assume I know too much :) Thanks. - Scott -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

