title: Redirecting 404s to a page outside the servlet app
body: <p>We have several servlet apps living on the same server. Rather than each app maintaining it's own custom 404 page, we'd like them each to forward to the same one at the root of the server.  Adding a configuration like this to the web.xml doesn't work:</p>
  
  <pre><code>&lt;error-page&gt;
      &lt;error-code&gt;404&lt;/error-code&gt;
      &lt;location&gt;/someOtherApp/notFound.html&lt;/location&gt;
  &lt;/error-page&gt;
  </code></pre>
  
  <p>It tries redirecting to /myAppName/someOtherApp/notFound.html rather than /someOtherApp/notFound.html</p>
  
  <p>Any ideas?</p>