title: how to set (org.kohsuke.stapler.) Stapler root in a directory not /?
body: <p>this is probably a stupid question, but I'd like to set Stapler to a directory not /</p>
  
  <p>for example, from this site</p>
  
  <p><a href="http://stapler.kohsuke.org/getting-started.html" rel="nofollow">http://stapler.kohsuke.org/getting-started.html</a></p>
  
  <p>since I set the Stapler root to be </p>
  
  <pre><code>&lt;servlet&gt;
    &lt;servlet-name&gt;Stapler&lt;/servlet-name&gt;
    &lt;servlet-class&gt;org.kohsuke.stapler.Stapler&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
    &lt;servlet-name&gt;Stapler&lt;/servlet-name&gt;
    &lt;url-pattern&gt;/&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>this means that the URL </p>
  
  <pre><code>http://myserver:myport/ 
  </code></pre>
  
  <p>is mapped to the Stapler servlet. This is ok.</p>
  
  <p>Now, I'd like to make it answer to </p>
  
  <pre><code>http://myserver:myport/somedir
  </code></pre>
  
  <p>obviously, just changing the configuration below is not enough</p>
  
  <pre><code>&lt;servlet&gt;
    &lt;servlet-name&gt;Stapler&lt;/servlet-name&gt;
    &lt;servlet-class&gt;org.kohsuke.stapler.Stapler&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
    &lt;servlet-name&gt;Stapler&lt;/servlet-name&gt;
    &lt;url-pattern&gt;/somedir/&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>how can I change Stapler in this case?</p>
  
  <p>TIA</p>
  
  <p>Leo</p>