For my application i have a caching mechansim whcih sets the expiry date to the static contents.(js,css and image files).
For this i have a Filter class whcih extends javax.servlet.Filter whcih sets the expiry date.
But in case i change the a js file in the future, then i want this file to be requested again from the server though it has been cached prevoisly.
I tried to inlude
public long getLastModified(HttpServletRequest req)in my jsp but doesnt even get called.Not sure How to handle this?
Is there any other mechanism to handle such cases?