I just converted my project to the Beta 1 version of struts and encountered
a problem with the <html:image/> tag.  The image tag appears to be eating
the closing quote on the property (name) attribute.  The <html:image/> code
worked fine with struts.jar from 2/21.


Here's some test jsp code:

<td colspan=4 align=center>
   <html:image property="Logon" src='<%=ip+"images/btnLogon.gif"%>'/>
   <input type="image" name="Logon" src='<%=ip+"images/btnLogon.gif"%>'
border="0">
</td>

And here's the output html:

<td colspan=4 align=center>
  <input type="image" name="Logon src="en/images/btnLogon.gif">  <--- no
closing quote
  <input type="image" name="Logon" src='en/images/btnLogon.gif' border="0">
</td>

Thanks,

Denis Hanson

Reply via email to