Update to correct the slash for key for config file (was failing on Windows when it used to the system-specific file separator before which resulted in \config/X instead of \config\X)

This commit is contained in:
hjkhjk54 2012-02-23 17:57:17 +00:00
parent 11d32685cf
commit 10908a7a65

View file

@ -73,7 +73,7 @@ public class ServletContextStub implements ServletContext {
*/ */
public void setRealPaths(String pathPrefix, File dir) { public void setRealPaths(String pathPrefix, File dir) {
for (File file : dir.listFiles()) { for (File file : dir.listFiles()) {
setRealPath(pathPrefix + File.separatorChar + file.getName(), setRealPath(pathPrefix + "/" + file.getName(),
file.getPath()); file.getPath());
} }
} }