You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by nsg <ns...@trans-cosmos.com.cn> on 2002/03/14 01:59:46 UTC

using image as a submit button!

Hi all,
    How can I use a image to submit a form? how to do?

Thanks in advancce.


Laker

Re: using image as a submit button!

Posted by keithBacon <ke...@yahoo.com>.
>> recommend reading through all of them at least once before 
>>developing.
An excellent idea, delicately expressed! 

--- Jay sissom <js...@toybox.uits.indiana.edu> wrote:
> You can do it the exact same way you would do it in html, or if you want 
> to use a tag library, you can use the html:image tag.
> 
> Please read this url for more information.
> 
> http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#image
> 
> The jakarta site has documentation on all the tags in the library.  I 
> would recommend reading through all of them at least once before 
> developing.
> 
> Jay
> 
> On Thu, 14 Mar 2002, nsg wrote:
> 
> > Hi all,
> >     How can I use a image to submit a form? how to do?
> > 
> > Thanks in advancce.
> > 
> > 
> > Laker
> > 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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


Re: using image as a submit button!

Posted by Jay sissom <js...@toybox.uits.indiana.edu>.
You can do it the exact same way you would do it in html, or if you want 
to use a tag library, you can use the html:image tag.

Please read this url for more information.

http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#image

The jakarta site has documentation on all the tags in the library.  I 
would recommend reading through all of them at least once before 
developing.

Jay

On Thu, 14 Mar 2002, nsg wrote:

> Hi all,
>     How can I use a image to submit a form? how to do?
> 
> Thanks in advancce.
> 
> 
> Laker
> 


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


Re: using image as a submit button!

Posted by Matt Barnicle <br...@barnicle.org>.
<input type="image" src="/foo/bar/submit.gif">

or if you use taglibs:

<html:image src="/foo/bar/submit.gif">

- M@

On Thu, 14 Mar 2002, nsg wrote:

> Hi all,
>     How can I use a image to submit a form? how to do?
> 
> Thanks in advancce.
> 
> 
> Laker
> 


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