struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chad Baker <CBA...@mobius.com>
Subject RE: html:XXXXXX question
Date Fri, 18 Mar 2005 15:44:32 GMT
Try html:img, instead.

http://struts.apache.org/userGuide/struts-html.html#img

chad

-----Original Message-----
From: Scott Purcell [mailto:spurcell@vertisinc.com] 
Sent: Friday, March 18, 2005 10:27 AM
To: user@struts.apache.org
Subject: html:XXXXXX question


Hello,
 
I am struggling with using the html:XXXX tag, and the docs are just
confusing me.  
 
I have an application that I want to use the html:image tag. But the images
need to have a height and width set to them. So I tried this:
      <html:image page="/images/equipment.gif" height="1" width="342"
alt=""/><BR>
 
Error said height and width are not valid attributes:
 
I need to show an image (used to use <img src="/images/equipment.gif"
height="1" width="342">) This image does not need to be a url or anything. 
 
How can this be accomplished?
 
PS, I did see I could use resource bundles, but I do not see the gain in my
situation.
 
 
Thanks,
Scott


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message