Your image is part of the servlet container. You need to need the context
root to your image path. There is also an <html:img> tag part of S1, I
believe.

Paul

On Dec 18, 2000 5:57 PM, Martin Gainty <[EMAIL PROTECTED]> wrote:

> change to
> <%@ taglib prefix="s" uri="/struts-tags" %>
> <s:submit type="image" src="xxxx" value="Submit"/>
> http://struts.apache.org/2.0.11/docs/submit.html
>
> M--
> ----- Original Message -----
> From: "john lee" <[EMAIL PROTECTED]>
> To: <user@struts.apache.org>
> Sent: Tuesday, December 18, 2007 6:29 PM
> Subject: html:submit & html:img combo
>
>
> > I try to use the following
> >
> >   <html:submit> <html:img /> </html:submit>
> >
> >   or
> >
> >   <html:submit> <img src="xxxx" > </html:submit>
> >
> >   but image can not be displayed, but why?
> >
> >   any expert give the tip?
> >
> >   tks
> >
> >   john
> >
> >
> > ---------------------------------
> > Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try
> it
> now.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to