Patrice, I've tried your suggestion and it works well ! I didn't know is was possible to nest image tag inside link tag.
thank you very much. Meissa "Patrice" <[EMAIL PROTECTED]> on 22/11/2002 15:37:46 Veuillez répondre à "Struts Users Mailing List" <[EMAIL PROTECTED]> Pour : "Struts Users Mailing List" <[EMAIL PROTECTED]> cc : Objet : Re: Réf. : Re: imge submit tag error The <html:image> render an input tag of type "image". The action that will be performed is those defined in the <html:form action="...">. If you want to call dirrectly an action, without sumit a form, I suggest you to use a simple link: <html:link page="<%=editUrl%>"> <html:image src="images/icADMdelete.gif" page="<%=editUrl%>" alt= "Supprimer" border="0"/> </html:link> Best Regards Patrice ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, November 22, 2002 3:29 PM Subject: Réf. : Re: imge submit tag error > > If I specify only src, which attribute do I use to tell the action to > perform ? > > > > > > > "Patrice" <[EMAIL PROTECTED]> on 22/11/2002 15:17:19 > > Veuillez répondre à "Struts Users Mailing List" > <[EMAIL PROTECTED]> > > Pour : "Struts Users Mailing List" <[EMAIL PROTECTED]> > cc : > Objet : Re: imge submit tag error > > > You must specify only src or only page, but not both. > > Best regards > Patrice > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, November 22, 2002 3:00 PM > Subject: imge submit tag error > > > > hi all, > > > > I've a problem when I try to use the image tag. > > > > I do use it like this > > > > <html:image src="images/icADMdelete.gif" page="<%=editUrl%>" alt= > > "Supprimer" border="0"/> > > > > The following ServletException is raised > > > > javax.servlet.ServletException: You must specify exactly one of src, > > srcKey, page, or pageKey > > > > And I don't have any exception when I remove the page attribute. > > > > It seems like I'm using it wrongly. > > > > can someone tells me what I've missed. > > > > thanks > > > > Meissa > > > > > > > > -- > > 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]> > > > > > > > > > > -- > 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>