Re: Valve to intercept outgoing requests

2011-04-06 Thread Hassan Schroeder
On Wed, Apr 6, 2011 at 5:19 AM, Sergio wrote: > I made this Valve, trying to intercept requests going out of my "WebPages" > context to the "Webservices" context. An outbound request made by your webapp for another resource is not going to be using a Tomcat connector. You could capture the *inbo

Valve to intercept outgoing requests

2011-04-06 Thread Sergio
I made this Valve, trying to intercept requests going out of my "WebPages" context to the "Webservices" context. Right now they are both running in the same Tomcat (5.5.33), but that may not be true in the future. public class TestValve extends org.apache.catalina.valves.ValveBase { @Overri