Revision 4167
Added by ben leinfelder almost 16 years ago
SldFactory.java | ||
---|---|---|
117 | 117 |
|
118 | 118 |
try { |
119 | 119 |
String certPath = SystemUtil.getContextDir(); |
120 |
String filename = certPath + "data/styles/" + dataset; |
|
120 |
String filename = certPath + "/data/styles/" + dataset;
|
|
121 | 121 |
String sld = getSld(filename); |
122 | 122 |
System.out.println(sld); |
123 | 123 |
response.setContentType("text/xml"); |
Also available in: Unified diff
include leading slash for path to the spatial files (context is given without a trailing slash)