Project

General

Profile

« Previous | Next » 

Revision 4167

include leading slash for path to the spatial files (context is given without a trailing slash)

View differences:

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