Thanks Kishore, curious what does the pagePattern of the controller actually do? -David
----- Original Message ----- From: "Kishore Senji" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, August 18, 2004 2:03 PM Subject: Re: html:img tag and modules > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]