HF says that if you don't use wrapped request/response objects - you would have a problem writing to the reponsestream AFTER chain.doFilter.
I've made a little ex. - and it works fine for me - without using the wrapped objects. What did I miss here ??
posted 13 years ago
Did it say would? or could?
I suspect they meant something like the following: Since it is a chain of filters, one of those filters may decide not to forward the request any further. In this case if the request was not forwarded by a filter further down the line, your code after chain.doFilter would never get executed.