Please help, this is driving me absolutely crazy!
All I want to do is intercept the request, print the header and body to the log and pass the request onto the
servlet. So I use a filter chain. But if I call getReader to print the body, it then throws an
IllegalStateException further up the chain.
How do I avoid this and print the body to the log, while leaving the streams intact? possible?
Thanks
Richard.