Am 2018-12-04 um 23:22 schrieb Woonsan Ko:
On Wed, Dec 5, 2018 at 5:36 AM Michael Osipov <micha...@apache.org> wrote:
Am 2018-12-03 um 20:30 schrieb Mark Thomas:
Hi,
I have been looking at [1]. This is a request to be able to specify a
URL for a WAR, including a URL that points to a WAR file packaged inside
a JAR. This request is in the context of embedded Tomcat.
The embedded aspects are just part of this. Fixes would also be required
to the core Tomcat code.
The Javadoc for Context indicates that a URL is acceptable for the
docBase. However, the code does not support this. The code expects a
file path (absolute or relative to appBase) that points to either a
directory or a WAR.
How can a URL with a scheme be relative?!
E.g,
jar:file:/path/to/application/bits/myapp.jar!/META-INF/hipshoot/embedded-catalina/webapps/site.war,
based on JAR URL [1].
That still makes the original JAR absolute, thus the WAR is absolute.
You are simply navigating inside the ZIP file. That, of course, is
always relative.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org