Thanks, Tim.
I'd just found a page on the 2.5 spec saying it was on its way.
I think I'm going to just use ServletContext.getServletContextName() and
just remember to keep them in step myself - I guess it's only an issue
during development anyway, but it seemed like such an elegant solution.
Ch
Your on the right track - the servlet 2.5 spec fixes this (but tomcat 6 isn't
out yet).
If I were in this predicament - I'd use a ServletContext init parameter. They
can be overridden in the declaration.
-Tim
Stuart Wood wrote:
I have a web application running under Tomcat 5.0, and I need