I have written a class CacheControlFilter implements javax.servlet.Filter to set header to make sure that the application is not caching. have done entry in the web.xml also
<filter>
<filter-name> Cache controller filter</filter-name>
<filter-class>com.shc.ap.filter.CacheControlFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Cache controller filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
please suggest me how to check/test whether this is working or not? let me know if you want more information about the same.
Aucun commentaire:
Enregistrer un commentaire