Bob Arnott wrote the following on 3/10/2005 10:04 AM:

Use the srcKey attribute on the <html:img /> tag to specify the property in your resource bundle that you want to use:

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

<html:img srcKey="my.image" />

Darn it Bob:) You made me look at the html:img tag again, and now I realize it's cleaner than what I'm doing with JSTL. I love that the html:img tag has a titleKey. Now I have to be anal and go change all the places in my code to use html:img. Unless someone knows of a nice JSTL equivalent? I had removed most of my struts specific tags but I think I want to put this one back. Good stuff.


--
Rick

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



Reply via email to