You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by James Mitchell <jm...@telocity.com> on 2002/09/01 18:22:51 UTC

RE: How to have submit button with img

Try using:

  <html:image src="struts-power.gif"/>


James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta




> -----Original Message-----
> From: Lili [mailto:J_zhangca@yahoo.ca]
> Sent: Friday, August 30, 2002 8:52 AM
> To: Struts Users Mailing List
> Subject: How to have submit button with img
>
>
> Hi, All:
>
> I want to have submit button with a image for display purpose.
> The following
> is part of my code:
>
>  <html:submit>
>   <img src="struts-power.gif"/>
>  </html:submit>
>
> struts-power.gif exists in same directory as my jsp files. But when I run
> it, it always show me a button with <img src=
> on the button. Please help me if you know how to solve the problem.
>
> Thanks
>
> Lili
>
> ______________________________________________________________________
> Post your ad for free now! http://personals.yahoo.ca
>
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>