https://issues.apache.org/bugzilla/show_bug.cgi?id=53473
Priority: P2
Bug ID: 53473
Assignee: [email protected]
Summary: Error in isVirtualWebappRelative param configuration
Severity: minor
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: All
Status: NEW
Version: unspecified
Component: Documentation
Product: Tomcat 7
The docs for the 'isVirtualWebappRelative' param configuration state that '0'
or '1' is the accepted setting:
web.xml and ssi-howto:
<!-- isVirtualWebappRelative -->
<!-- Should "virtual" paths be interpreted as -->
<!-- relative to the context root, instead of -->
<!-- the server root? (0=false, 1=true) [0] -->
but the code that reads the parameter is:
org/apache/catalina/ssi/SSIServlet.java:
isVirtualWebappRelative =
Boolean.parseBoolean(config.getInitParameter("isVirtualWebappRelative"));
org/apache/catalina/ssi/SSIFilter.java:
isVirtualWebappRelative =
Boolean.parseBoolean(getServletConfig().getInitParameter("isVirtualWebappRelative"));
As of that code, the only working configuration to set the
'isVirtualWebappRelative' to true is:
<init-param>
<param-name>isVirtualWebappRelative</param-name>
<param-value>true</param-value>
</init-param>
and not
<init-param>
<param-name>isVirtualWebappRelative</param-name>
<param-value>1</param-value>
</init-param>
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]