Display of image from formbean in struts
i am having a string attribute in my form bean which contains the URL (from the web) of the image. how can开发者_如何转开发 i display this image on my jsp image.
can someone suggest which tag to use.
If you are using Struts 1, then you can simply use the following in success jsp-page:
<bean:parameter id="imagePath" name="beanPropertyForImagePath" />
<img src="${imagePath}" width="20" height="20" alt="" />
精彩评论