You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "aL." <sk...@thenumnum.net> on 2002/09/23 22:14:08 UTC

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.