I have some javascript files placed in the .../data/www folder that I'm
trying to be able to reference as a relative path in the header.ftl file
(that styles the getFeatureInfo response).

I can access the javascript files fine using the full url, eg:  <script
src="http://10.128.3.63:8080/geoserver/www/sorttable.js";
type="text/javascript"></script>

but I can't for the life of me figure out how to get it to accept a
relative path... I've tried pretty much every combination of
../www/sorttable.js, /geoserver/www/sorttable.js, etc, etc trying to find a
combination that works, but no luck so far.
Does anyone have any insight into this?

Also, is there anyway to get the baseUrl as a variable to use in the
freemarker templates?

Thanks!
-Jen
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to