That's the conclusion I'd come to, but was hoping some Tomcat guru could
tell me different. Unfortunately, request.getContextPath() is not available
"before the first request" though this is indeed how we are initializing our
knowledge of this setting at the moment. Sounds like we'll have to wait
It looks like the method ServletContext.getContextPath() was added in
version 2.5 of the Servlet API (supported by Tomcat 6.0), but was not
present in version 2.4 (supported by Tomcat 5.5). Is there any way to get
this information at webapp load time, i.e. inside a
ServletContextListener.contextIn