List of usage examples for javax.servlet GenericServlet getServletConfig
public ServletConfig getServletConfig()
From source file:org.sonar.ide.test.TestServlet.java
public static String getBaseDir(GenericServlet servlet) { return StringUtils.defaultIfEmpty(servlet.getServletConfig().getInitParameter("baseDir"), "target/sonar-data"); }