The time that is returned by getLastModified seems to be incorrect for webapp resources.
My code:
URL url = getClass().getResource("/x.properties");
URLConnection conn = url.openConnection();
long newLastModified = conn.getLastModified();
If there's a change, then I want to re-read the file using
getClass().getResourceAsStream("/x.properties")
Anyone have any info on this?
Thanks,
Gary