i am trying to customize 404 error pages: but i can't seem to get the original URI that caused the error: i.e. http://myhost/blahasdfasfsd
i search the web and found these but they all return null. System.out.println("javax.servlet.forward.request_uri : " + request.getAttribute("javax.servlet.forward.request_uri")); System.out.println("javax.servlet.forward.context_path : " + request.getAttribute("javax.servlet.forward.context_path")); System.out.println("javax.servlet.forward.servlet_path : " + request.getAttribute("javax.servlet.forward.servlet_path")); System.out.println("javax.servlet.forward.path_info : " + request.getAttribute("javax.servlet.forward.path_info")); System.out.println("javax.servlet.forward.query_string : " + request.getAttribute("javax.servlet.forward.query_string")); can someone help me. thx Richard