Hi, I can confirm this is not working as intended on Apache 4.1.x
But I can't be of any more help other than to suggest you file a bug? Jim > -----Original Message----- > From: Alexius Luke [mailto:[EMAIL PROTECTED]] > Sent: 25 November 2002 05:29 > To: [EMAIL PROTECTED] > Subject: custom error page rewrite uri > > > Hi all, > > I use Apache Tomcat 4.1.12 on Linux.For my aplications > need I have configured a custom error jsp age for the error-code > 404.So when any irrelevant url is requested this jsp page is invoked. > > <error-page> > <error-code>404</error-code> > <location>/error_request.jsp</location> > </error-page> > > http://localhost:8080/irrelevantpage > > I need to get the requested irrelevant uri in the > error_request.jsp page and process accordingly.But in my jsp when > I use the request.getRequestURI() it gives me the current pages > uri (i.e) /error_request.jsp instead of /irrelevantpage. > could anybody help me > Is there any place in the configuration files to specify this or > is it this wat that the container works. > Thanx in advance, > > p.s. In tomcat3.2 it works as I expect.But in tomcat4.1.12 it isnt. > > -Alexius Luke -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>