I am trying to add some filtering to the application context file, which resides in the WEB-INF directory.
I have the file which is to be filtered (xmlgateway-context.
you should configure filtering via the maven war plugin: checkout these examples.