Your src is different in each case. The first one includes a . at the
beginning, the second does not.
-----Original Message-----
From: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 13:50
To: Struts
Subject: icons not showing up?
Hi, I am trying to use struts to show a couple of icons.
The following html works:
<IMG SRC="./Images/cancel.gif" ALT="Cancel" NAME="btnCancel"
onClick="doCancel();">
but this does not?
<html:image src="/Images/cancel.gif" alt="Cancel" property="action"
alue="cancel"/>
In the struts way the form is submitted but the icon does not show up.
Any help is appreciated.
Regards
Alex