If they are all on the same form, then have a hidden form element called "forward"
(for example) that gets set in the onclick event of the submit form element.
e.g. (Using images as submits)
<html:form action="someAction">
<html:hidden property="forward" value="error"/>
[SNIP]
<html:image page="/img/add.png"
onclick="this.form.forward.value='add'"/>
<html:image page="/img/clear.png"
onclick="this.form.forward.value='clear'"/>
</html:form>
Kris.
> -----Original Message-----
> From: Chandra Sekharan Bhaskaran
> [mailto:[EMAIL PROTECTED]]
> Sent: 11 June 2002 10:55
> To: 'Struts Users Mailing List'
> Subject: RE: Different buttons in one JSP
>
>
> Associate each one to each form in html
>
>
> -----Original Message-----
> From: Radhika Nadkarni [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 3:17 PM
> To: [EMAIL PROTECTED]
> Subject: Different buttons in one JSP
>
>
> hi,
> Im having one JSP in which I have created 3 submit buttons. How can I
> identify these buttons in the Action class ?
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> --
> 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]>