Forums Register Login

IE & JNLP

+Pie Number of slices to send: Send
Hello,

An application is lauched through a jnlp file. Now the problem is that the browser uses a previously cached vrsion of the file insted to retrieve a new one.

Info:
- the jnlp deployed on WebShpere.
- offline is not allowed in the jnlp file, but this has to do with the JWS cache only.
- there is a ServletFilter which sets the "expires" header, and/or the max-age together with forcing of the refresh. I tried here all the combinations possible I think...
- the browser is IE 6.0.1 .
- the connection to the Web application is made throug https. This is way Pragma "no-cache" or similar headers could not be set otherwise the jnlp file would not get downloaded (there is an IE bug report made for that).
- in the Websphere web server all the browser requests appear as "GET" and not "HEAD".

So, the browser asks through a GET for a new jnlp file always but all it does is updating the Expiration time of the one already existing in its cache. The old one is used.

Any Ideas?

Thanks,
Cristian
+Pie Number of slices to send: Send
is it possible to use very small expiration value?
+Pie Number of slices to send: Send
Hi,

Yes, the problem was with the JnlpDownloadServlet. The browser sends a GET with "if-expired-since" and the servlet decides the file is not modified because it is the same on the file system. The problem is that I am using some servlet filters to modify the jnlp file and because the behavior of the servelet the jws receives the old jnlp file, with the old dynamic fields.

Cristian
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2189 times.
Similar Threads
Launching/getting the updated JNLP
Caching Problem with JNLP
Running JNLP on a Win2000 Client
JNLP downloads from JSP page
This Weeks Giveaway:
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:01:01.