RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Shapira, Yoav
Howdy, Hello all. Using valves in Tomcat 4, we successfully managed to intercept requests to specific contexts and direct them elsewhere. For example, we could intercept all requests to /SECRETWEBAPP and redirect them to /. Why would you do this with a valve? Use a Filer, which is

RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Shapira, Yoav
Howdy, Hello all. Using valves in Tomcat 4, we successfully managed to intercept requests to specific contexts and direct them elsewhere. For example, we could intercept all requests to /SECRETWEBAPP and redirect them to /. Why would you do this with a valve? Use a Filer, which is

RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Green, Jeffrey
: org.apache.catalina.HttpRequest.setRequestURI() and valves Howdy, Hello all. Using valves in Tomcat 4, we successfully managed to intercept requests to specific contexts and direct them elsewhere. For example, we could intercept all requests to /SECRETWEBAPP and redirect them to /. Why would you do this with a valve? Use

Re: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Jeanfrancois Arcand
Green, Jeffrey wrote: Hello all. Using valves in Tomcat 4, we successfully managed to intercept requests to specific contexts and direct them elsewhere. For example, we could intercept all requests to /SECRETWEBAPP and redirect them to /. In order to accomplish this, we used valves which

RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Green, Jeffrey
: Thursday, January 15, 2004 11:21 AM To: Tomcat Users List Subject: Re: org.apache.catalina.HttpRequest.setRequestURI() and valves Green, Jeffrey wrote: Hello all. Using valves in Tomcat 4, we successfully managed to intercept requests to specific contexts and direct them elsewhere

Re: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Jeanfrancois Arcand
at is MappingData where the result of the mapping is stored. -- Jeanfrancois Thanks again. -Original Message- From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 11:21 AM To: Tomcat Users List Subject: Re: org.apache.catalina.HttpRequest.setRequestURI

RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Green, Jeffrey
] Sent: Thursday, January 15, 2004 11:21 AM To: Tomcat Users List Subject: Re: org.apache.catalina.HttpRequest.setRequestURI() and valves Green, Jeffrey wrote: Hello all. Using valves in Tomcat 4, we successfully managed to intercept requests to specific contexts and direct them elsewhere

Re: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Jeanfrancois Arcand
: org.apache.catalina.HttpRequest.setRequestURI() and valves Green, Jeffrey wrote: Hello all. Using valves in Tomcat 4, we successfully managed to intercept requests to specific contexts and direct them elsewhere. For example, we could intercept all requests to /SECRETWEBAPP and redirect

RE: org.apache.catalina.HttpRequest.setRequestURI() and valves

2004-01-15 Thread Green, Jeffrey
: Re: org.apache.catalina.HttpRequest.setRequestURI() and valves Green, Jeffrey wrote: Regarding the last post on this topic: 1) sendRedirect() doesn't seem to work because ValveBase's invoke() method takes an org.apache.catalina.Response object and that class has no sendRedirect() method. Am