Java Webstart intermittant JAR not updating

前端 未结 8 978
眼角桃花
眼角桃花 2020-12-30 07:29

We use java Webstart to deploy a java application on our intranet. The application receives frequent updates. Once in awhile a user will launch the application from their de

8条回答
  •  情歌与酒
    2020-12-30 07:46

    I've been using the java webstart nextx.jar clone. I traced my not updating JAR issue to the use of the URLConnection.getLastUpdated() method. Since it uses the HEAD method to get the lastUpdated of the filename, this is the reason why sometimes it does not download due to caching of the getLastUpdated(). We decided to use our own method of refreshing our application as webstart is flawed.

提交回复
热议问题