Update Jetty packages (major) #103
1 changed files with 2 additions and 2 deletions
|
@ -483,7 +483,7 @@ public class ApplicationManager implements XmlRpcHandler {
|
||||||
|
|
||||||
// if there is a static direcory specified, mount it
|
// if there is a static direcory specified, mount it
|
||||||
if (this.staticDir != null) {
|
if (this.staticDir != null) {
|
||||||
String staticPath = getAbsoluteFile(this.staticDir).getPath();
|
String staticPath = getAbsoluteFile(this.staticDir).getCanonicalPath();
|
||||||
|
|
||||||
getLogger().info("Serving static from " + staticPath);
|
getLogger().info("Serving static from " + staticPath);
|
||||||
getLogger().info("Mounting static at " + staticMountpoint);
|
getLogger().info("Mounting static at " + staticMountpoint);
|
||||||
|
@ -537,7 +537,7 @@ public class ApplicationManager implements XmlRpcHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (protectedStaticDir != null) {
|
if (protectedStaticDir != null) {
|
||||||
String protectedContent = getAbsoluteFile(protectedStaticDir).getPath();
|
String protectedContent = getAbsoluteFile(protectedStaticDir).getCanonicalPath();
|
||||||
appContext.setBaseResourceAsString(protectedContent);
|
appContext.setBaseResourceAsString(protectedContent);
|
||||||
getLogger().info("Serving protected static from " + protectedContent);
|
getLogger().info("Serving protected static from " + protectedContent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue