Disable Browser Caching....how to add a filter

Hi All,

I have a problem with browser caching.
I read that a good solution is to add a Filter to my main servlet in Vaadin.
So, how can I add a Filter to my main servlet ?
I tried but I always got the error message: The context is already initialized.
Any suggestion ?
Cheers.

                 Stefano