I had already written a XSS Filter to reject invalid input. But my application can still send invalid character/script to the browser. I want to prevent these in response object also. For that I think I can use CharacterEncodingFilter (correct me if I am wrong).
My web.xml already have:
How can I give specify another filter with same url pattern without conflicting?
<!-- URLRewrite Filter -->