|
|
|
@ -92,6 +92,10 @@ public abstract class AbstractEmbeddedServletContainerFactory |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private File getWarFileDocumentRoot() { |
|
|
|
|
|
|
|
return getArchiveFileDocumentRoot(".war"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private File getArchiveFileDocumentRoot(String extension) { |
|
|
|
private File getArchiveFileDocumentRoot(String extension) { |
|
|
|
File file = getCodeSourceArchive(); |
|
|
|
File file = getCodeSourceArchive(); |
|
|
|
if (this.logger.isDebugEnabled()) { |
|
|
|
if (this.logger.isDebugEnabled()) { |
|
|
|
@ -104,10 +108,6 @@ public abstract class AbstractEmbeddedServletContainerFactory |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private File getWarFileDocumentRoot() { |
|
|
|
|
|
|
|
return getArchiveFileDocumentRoot(".war"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private File getCommonDocumentRoot() { |
|
|
|
private File getCommonDocumentRoot() { |
|
|
|
for (String commonDocRoot : COMMON_DOC_ROOTS) { |
|
|
|
for (String commonDocRoot : COMMON_DOC_ROOTS) { |
|
|
|
File root = new File(commonDocRoot); |
|
|
|
File root = new File(commonDocRoot); |
|
|
|
|