I have a web app: MyApp.war, inside it, I have a jar file: WEB-INF/lib/PublicJar.jar
I want client applications to be able to download that jar like a web resource. e.g
http://theserver.com/myapp/jars/PublicJar.jar
I want the web application to be able to compute the hashcode of the jar file to see if it has changed, so clients know if it needs to reload it.
Can this be done?