[ka-Map-dev] [Bug 1450] this.server is not added to image urls

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Mon Jun 26 03:44:48 EDT 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1450





------- Additional Comments From den at demax.ru  2006-06-26 03:44 -------
I have a Java web application with urls like http://host/cgi-bin/MyApp/Main. Ka-map code is 
embedded into this application and js files are included via:

<script type="text/javascript" src="/ka-map/kaTool.js"></script>
<script type="text/javascript" src="/ka-map/kaQuery.js"></script>

etc.

As you understand with this setup relative urls like "images/arrow_down.png" will not work since these 
resources will be loaded from http://host/cgi-bin/MyApp/Main/images/arrow_down.png and not from 
http://host/ka-map/images/arrow_down.png

So, to my  mind the right solution would be to append "this.server" to each call to resource. I'm using 
patch from this bug to support resources I need but I'm not using all the functionality of ka-map so 
additional corrections should be added to cover all the resource calls.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the ka-Map-dev mailing list