Chris wrote...

So it looks like the backend service IS being called, but rejecting the request because 
of the "UserAgent" object complaining about it.

I would log the User-Agent header from the request in your front-end before the 
RequestDispatcher.forward() call, and if possible, also log it in your backend 
service just before the "return false”.
I created (copied from the internet) a logging filter implementation for dumping the request and everything in that looked correct. I then went for the option of potentially upsetting the user base by enabling all logging options on all of the backend’s classes. It appears that it was down to me being an idiot!

In my servlet there is code that says:

ServletContext myContext = request.getServletContext();
ServletContext backendContext = myContext.getContext(“/backend”);

When I was creating the RequestDispatcher to forward the request I was including the “/backend” on the front of the URL. Turns out it wasn’t needed and was upsetting some URL filtering!

-Andy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to