In TC 5.5.28, Java 5, how can I find the context path that was called,
so I can log it?
I have an app that is started under two different contexts, one with the
name of the .war file, and another one which is just an alias of the
main one. I'm trying to log some events in a ServletContextListener,
including which context was called, and can't seem to find a function to
give me this. The ServletContext.getContextPath() doesn't seem to exist
in the code levels I'm using???
I have found getRealPath(), but that gives the location on disk, and
getServletContextName() just gives the display name as defined in web.xml.
Any suggestions? Is there a function I'm missing?
d
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org