is ok, was simple q, now solved:
just used href="<html:rewrite ..../>" in the <area/> tag.
----- Original Message -----
From: aL.
To: Struts Users Mailing List
Sent: Monday, September 23, 2002 9:14 PM
Subject: image map context-relative problem
hi,
i have an image map:
<html:img src="images/1.gif" border="0" usemap="#Map"/>
which refers to:
<!-- image map for title bar logoff -->
<map name="Map">
<area shape="rect" coords="338,2,382,19" href="/logoff.do">
</map>
but the href attribute of the area tag doesn't give me a context-relative path.
ie. instead of http://localhost:8080/mycontextpath/logoff.do i get
http://localhost:8080/logoff.do.
what is the best way to make this work please?
many thanks,
aL.