Mohana Rao Sv wrote:Imagining you were working with struts2. You can set this in struts.properties file.
if you want to override it to a particular request then you have to override FilterDispatcher(Use StrutsPrepareAndExecuteFilter).
We are using WebWorks.
I tried overriding FilterDispatcher with TestFilter.java.
In my web.xml I configured this filter for a particular request.
On request, doFilter() method of TestFilter does get called, but at the end , doFilter() method of FilterDispatcher gets called. So i end up without my encoding being changed.
Is this the right way to do it? I think I am doing something wrong.
Here is my code -