请教个菜鸟问题,Tomcat5.5怎么捕获404错误
我知道在Web.XML里面加上 
  <error-page>  
        <error-code> 404 </error-code>  
        <location> handleFileNotFound.jsp </location>  
  </error-page>  
 但是我想在handleFileNotFound.jsp中得到刚才发生404错误的完整地址。 
 比如我输入http://127.0.0.1:8080/dd/aa.html,在handleFileNotFound.jsp中我要得到这个地址。请各位大哥指教
------解决方案--------------------要屏避400,404页面可以在xml中这样写    
  <error-page>     
     <error-code> 404 </error-code>     
     <location> /error.jsp </location>     
  </error-page>
------解决方案--------------------试试在handleFileNotFound.jsp 
 里把request.getRequestURL()打印出来。
------解决方案--------------------呵呵  帮顶一下