How can write out in every page no cache tags ?

Hi All,

I have to write in every page of my Vaadin application some tags to avoid browser cache.
What’s the best way to do it ?
Alternatively I have been suggested to add a Filter.
I found the filter but I didn’t understand how to add to my servlet; I am using Servlet 3.0 so I don’t use any web.xml file.
I use annotations to specify configuration parameters.
Any suggestion ?



I think that I found the solution :!/thread/1676923