Hi ,
My requirement is to create a kind of filter or interceptor which will log all the requests which are going to other webserver.
Say for example : our Fitnesse is running on localhost:80 and tomcat is running on localhost :9000.
Now client should not know that response is coming from Fitnesse. and meanwhile we want to log the request in tomcat servlet.
I tried using RequestDispatcher.include and forward but they are working for the same webappcontext.
Here context are changing so i tried using response.sendRedirect. its going on the Fitness server URL and its visible on the URL. But I think response which is going back to the client is not going through tomcat servelt.
Is there any way to achieve to log and incoming and outgoing request to pass and log in tomcat deployed servlet?
Thanks in advance.
My requirement is to create a kind of filter or interceptor which will log all the requests which are going to other webserver.
Say for example : our Fitnesse is running on localhost:80 and tomcat is running on localhost :9000.
Now client should not know that response is coming from Fitnesse. and meanwhile we want to log the request in tomcat servlet.
I tried using RequestDispatcher.include and forward but they are working for the same webappcontext.
Here context are changing so i tried using response.sendRedirect. its going on the Fitness server URL and its visible on the URL. But I think response which is going back to the client is not going through tomcat servelt.
Is there any way to achieve to log and incoming and outgoing request to pass and log in tomcat deployed servlet?
Thanks in advance.