Re: Context path from ServletContextListener

2011-05-25 Thread Mateu Yabar
Sorry, I don't see how I did not see it: arg0.getServletContext().getContextPath() On 25 May 2011 10:53, Mateu Yabar wrote: > Hi to all, > > I've created a ServletContextListener, which needs to use get the current > context path (as defined in web.xml): > > public class UpdateExecutionStartCont

Context path from ServletContextListener

2011-05-25 Thread Mateu Yabar
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) {