Hi there , I have an error page for the jsp application. In that error page I need to log the "file name or the URL" of the page that called the error page. request.getRequestURI() gives me the file name of the error page . Any suggestion ? Thanks. ML
The servlet container makes several request attributes available for the error page. These are:
The javax.servlet.error.request_uri might be the one you're after Mark.
Joined: Jan 31, 2003
Thanks Mark Howard. Seemed to be that these attributes are not availabe for servlet2.2 ( or equivalent version of JSP). In the webSphere that I have access to , the Servlet.jar is missing the javax.servlet.error.* package! So I am stuck. Again , thanks so much for the direction. ML