You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Shabbir Khadir Mohammed <sh...@wipro.com> on 2003/02/24 09:15:15 UTC
How to Show gif image instead of html "button" in the forms for tag ?
Hi All
Hope all are doing well.
I am using following code for form submit in one of the JSP.
<html:submit property="submit" value="Save"/>
It is displaying normal html "button".
On clicking this button form will be submitted to corresponding action.
Now my question is,
Instead of normal html "button" for submit, I want to display a GIF
image and form should be submitted to corresponding action (WITH OUT
using Java Script) on clicking that image.
If any one has any info do share with me.
Thanks & Regards
Shabbir
**************************Disclaimer************************************
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified that any use, copying
or dissemination of the information contained in the E-MAIL in any manner
whatsoever is strictly prohibited.
***************************************************************************
Re: How to Show gif image instead of html "button" in the forms for
tag ?
Posted by Vic Cekvenich <vc...@basebeans.com>.
By searhing the mail archive for you for other times this question was
asked:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg48962.html
Shabbir Khadir Mohammed wrote:
> Hi All
> Hope all are doing well.
> I am using following code for form submit in one of the JSP.
> <html:submit property="submit" value="Save"/>
> It is displaying normal html "button".
> On clicking this button form will be submitted to corresponding action.
>
> Now my question is,
>
> Instead of normal html "button" for submit, I want to display a GIF
> image and form should be submitted to corresponding action (WITH OUT
> using Java Script) on clicking that image.
>
> If any one has any info do share with me.
>
> Thanks & Regards
> Shabbir
>
>
> **************************Disclaimer************************************
>
> Information contained in this E-MAIL being proprietary to Wipro Limited is
> 'privileged' and 'confidential' and intended for use only by the individual
> or entity to which it is addressed. You are notified that any use, copying
> or dissemination of the information contained in the E-MAIL in any manner
> whatsoever is strictly prohibited.
>
> ***************************************************************************
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: How to Show gif image instead of html "button" in the forms for tag ?
Posted by Nicolas De Loof <ni...@cgey.com>.
use <html:image>
http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#image
Nico.
----- Original Message -----
From: "Shabbir Khadir Mohammed" <sh...@wipro.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, February 24, 2003 9:15 AM
Subject: How to Show gif image instead of html "button" in the forms for
<html:submit> tag ?
Hi All
Hope all are doing well.
I am using following code for form submit in one of the JSP.
<html:submit property="submit" value="Save"/>
It is displaying normal html "button".
On clicking this button form will be submitted to corresponding action.
Now my question is,
Instead of normal html "button" for submit, I want to display a GIF
image and form should be submitted to corresponding action (WITH OUT
using Java Script) on clicking that image.
If any one has any info do share with me.
Thanks & Regards
Shabbir
**************************Disclaimer************************************
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified that any use, copying
or dissemination of the information contained in the E-MAIL in any manner
whatsoever is strictly prohibited.
***************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org