You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by niksa_os <ni...@hotmail.com> on 2003/04/04 16:50:17 UTC

In Action I have
httpServletRequest.setAttribute("image", "/images/abc.gif");
-"/images/abc.gif" is from database

But I don't know how to put that in <html:img> to get this
<html:img page="/images/abc.gif"/>

I try like this
<html:img page="<%=(String)request.getAttribute("image")%>"/>
but this doesn't work!