How to Use <html:img>tag
843838Aug 10 2005 — edited Aug 11 2005hi all,
I am new to struts and jsp.
i had the imagename as hidden value
depending upon the imagename,i need to display the image....while form loading itself.that means without any action.
i need to pass that hidden value to the src attribute of the tag...that i don't know how to do.
however i tried to dispaly a particular image...
.here the image name s hardcorded as 2.jpeg..still not working.
I tried to display an image usig.....
the tag below.
<html:img src="/company_logo/2.jpeg" width="100" height="100" />
but the image is not getting displayed?
i don't know what i missed...anybody know pls help me.
Also i have one more doubt to clear.
How can i display image s dynamically.
ie,how can i specify src attribute....for dynamic displaying?
any help
thanx so much