title: how to get Requested URL on custom error page
body: <p>I got next problem with my application.
  I have to make my own 404 page and I'd like to write there "Page {requestedPage} not found" but I have no idea how to get this value.</p>
  
  <p>I created Controller with RequestMapping</p>
  
  <pre><code>@RequestMapping("404")
  public String handle404(Locale locale, Model model ,HttpServletResponse response, HttpServletRequest request){
      ...
  }
  </code></pre>
  
  <p>and set this page in web.xml as 404 error page</p>
  
  <pre><code>&lt;error-page&gt;
      &lt;error-code&gt;404&lt;/error-code&gt;
      &lt;location&gt;/404&lt;/location&gt;
  &lt;/error-page&gt;
  </code></pre>
  
  <p>I found the same question on spring forum
  <a href="http://forum.springsource.org/showthread.php?87670-Knowing-the-requested-URL-during-a-404" rel="noreferrer">http://forum.springsource.org/showthread.php?87670-Knowing-the-requested-URL-during-a-404</a>
  but without answer</p>
  
  <p>I looked for all HttpSerletRequest methods and fields but not found anything what can help.</p>
  
  <p>Does anyone know how to do this?</p>