Fix for caching problem, now ensures latest jars are downloaded when using the appletloader caching tag, also no longer fails on receiving incorrect content-type from server.

This commit is contained in:
kappa1 2008-04-25 02:18:27 +00:00
parent a7dd394fe5
commit f045569a90
1 changed files with 1 additions and 0 deletions

View File

@ -737,6 +737,7 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
debug_sleep(2000);
urlconnection = urlList[i].openConnection();
urlconnection.setUseCaches(false);
String currentFile = getFileName(urlList[i]);
InputStream inputstream = getJarInputStream(currentFile, urlconnection);