module works only when an action is specified. 
But you can set the contextRelative attribute to true in the html:img
<html:img page="/image/myimage.gif" contextRelative=""/>
(P.S: contextRelative is deprecated and removed after 1.2)

OR

<img src='<html:rewrite page="/image/myimage.gif">'/> given that for that module
you set the pagePattern to $P of the controller
<controller pagePattern="$P"></controller>

OR 

using JSTL:
<img src="<c:out
value='${pageContext.request.contextPath}'/>/images/myimage.gif"/>

OR

Extend img tag and provide the behaviour you want

Thanks,
Kishore Senji

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

Reply via email to