You can't nest one tag <bean:write> inside another <html:image>.

You could use the expression language versionlike so:

<Html-el:image src="${ctxtPath + '/coeuslite
images/moveselectedmsg.gif'}" property="submit" alt="Submit"/>


-----Original Message-----
From: A. Lotfi [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 18, 2006 2:50 PM
To: Struts Users Mailing List
Subject: RE: How to put an image in a <html:submit 

I did this but it does not work :
  html:image src="<bean:write name='ctxtPath'/>/coeuslite
images/moveselectedmsg.gif" property="submit" alt="Submit"/>

Greg Dunn <[EMAIL PROTECTED]> wrote:
  





-----Original Message-----
From: A. Lotfi [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 18, 2006 2:24 PM
To: Struts Users Mailing List
Subject: How to put an image in a 
How to put an image in a button
thank you


---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.

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



                
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.

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

Reply via email to