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:
parent
11d32685cf
commit
10908a7a65
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue