title: Set path in web.xml relative to WEB-INF
body: <p>I want to set a path in my web.xml which is relative to the WEB-INF or the WEB-INF/classes.</p>
  
  <p>However, the following code (repository.home) seems to pick up a path relative to c: root drive path on my windows machine here.</p>
  
  <pre><code>    &lt;servlet&gt;
    &lt;servlet-name&gt;ContentRepository&lt;/servlet-name&gt;
    &lt;servlet-class&gt;org.apache.jackrabbit.servlet.jackrabbit.JackrabbitRepositoryServlet&lt;/servlet-class&gt;
    &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;init-param&gt;
        &lt;param-name&gt;repository.home&lt;/param-name&gt;
        &lt;param-value&gt;/WEB-INF/classes/testit&lt;/param-value&gt;
      &lt;/init-param&gt;
  &lt;/servlet&gt;
  
  &lt;servlet&gt;
    &lt;servlet-name&gt;JackrabbitServlet&lt;/servlet-name&gt;
    &lt;servlet-class&gt;com.orsa.seam.JackrabbitServlet&lt;/servlet-class&gt;
    &lt;load-on-startup&gt;2&lt;/load-on-startup&gt;
  &lt;/servlet&gt;
  </code></pre>