开发者

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="" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜