1 Reply Latest reply: Apr 12, 2010 8:38 AM by 793415 RSS

    Applet cache issue in java 6

    843802
      hi

      upgrading windows sun java from 1.5 to 1.6 makes our applet caching works faultly, it doesnt cache applets file into the cache directory.

      I tried to change the advanced->use next generation java.. off but the applet still loads the applets files from the server and its too slow..


      can anybody helps? is there any bugs within javas new 6 versions image caching?
        • 1. Re: Applet cache issue in java 6
          793415
          spalguru wrote:
          ..upgrading windows sun java from 1.5 to 1.6 makes our applet caching works faultly, it doesnt cache applets file into the cache directory.
          ..
          can anybody helps?..
          Can you find your shift key and apply it once at the start of every sentence? This helps the reader to quickly scan the text, looking for ways to help. You would not want to make it harder to help, would you?
          ..is there any bugs within javas new 6 versions image caching?
          Non applet runtime classpath resource caching is left to browsers, AFAIU. That means that whatever the browser decides to do (from caching all files, to caching no files, to allowing the end user to remove all cached files), is correct behaviour.

          For more control over caching, add resources into Jars, and add them to the applet's runtime classpath using the archive attribute of the applet element.

          For even more control over caching, either launch the applet free-floating using Java Web Start, or deploy it within a plug-in2 architecture JRE within a web page, & hook into the JNLP API's DownloadService.