Hi to all, I've created a ServletContextListener, which needs to use get the current context path (as defined in web.xml):
public class UpdateExecutionStartContextListener implements javax.servlet.ServletContextListener{ @Override public void contextInitialized(ServletContextEvent arg0) { String conextPath=¿? } (...) Is there any way to obtain this? Iv'e seen in http://www.jcp.org/aboutJava/communityprocess/maintenance/jsr154/servlet-2.5_MR2.htmlthat in servlet 2.5 it will exists the method ServletContext.getServletPath(), however with my tomcat6-Java6 this method does not exist yet. Thanks