<html:image> is the image-based submit button tag <input type="image">.

<html:img> is the plain old HTML <img> tag. Wrap with JavaScript link tag if
you want to use this to submit a form.

-Max

----- Original Message -----
From: "VEDRE, RANAPRATAP REDDY" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, September 12, 2002 9:37 PM
Subject: RE: Custom Submit Button


> You can use <html:img> tag  no that there are two tags <html:img> and
> <html:image>
>
> checkout http://jakarta.apache.org/struts/struts-html.html#img
>
> -Rana
>
> -----Original Message-----
> From: Aladar The Dinosaur [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 13, 2002 12:33 AM
> To: Struts Users Mailing List
> Subject: Custom Submit Button
>
>
> Hello,
>
> I'm planning on using custom image (submit) buttons with the HTML forms
> while utilizing struts form beans. However, I can't seem to figure out how
> to do it.
>
> For example, on a plain HTML file I would use
>
> <FORM action="/zipsearch.do" method="post" name="myForm">
>
> <INPUT name="field1">
>
> <INPUT name="field2">
>
> <A HREF="javascript:document.myForm.submit();"><img src="submit.gif"></A>
>
>
>
> Now, with struts ...
>
> <html:form action="/zipsearch.do" method="post">
>
> <html:text property="field1">
>
> <html:text property="field2">
>
> <html:submit value="Submit" />
>
>
>
> Can someone help me how I can make use of the custom "submit.gif" for a
> submit button?
>
>
>
> Thank you.
>
> 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]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to