• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java WebStart 1.6.0 always cache jnlp files

 
Vladimir Bezugliy
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We generate jnlp files by our servlet.
As far as I can see Java WebStart 1.6.0 move jnlp to cache and if I try to call the same jnlp then Java WebStart 1.6.0 get this jnlp file from cache not from my servlet.

I tried to set next headers in order to force not to cache jnlp files:

But it does not help us.

We do not have such problems with Java WebStart 1.4 and Java WebStart 1.5.

What header should I set in order to get generated jnlp file but not cached?
 
dinesh rackson
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Somebody please answer to the above question...

i am facing the same issue....
 
manasvini jayram
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a solution for this? We too do not want the jnlp to be cached on the local machine
 
dinesh rackson
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The solution:



Including the above code in the jnlp file will always get the latest jnlp file from the server.
 
Paul Clapham
Sheriff
Posts: 21113
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or if you're using a servlet to send the JNLP file to the response, you override its getLastModified() method to return that information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic