This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to load big driver

 
ma la
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, everybody
I need jdbc in my applet and I fail to load the driver in applet. I search the web for answers and someone said I can
have a archive parameter which point to the driver package.
so if the package is quite big(about 2M), the client will download the package everytime he(she) start the applet,does
anybody have good ideas? thanks.
 
Jim Bertorelli
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did just that a couple of weeks ago. I was using the oracle driver... classes12.zip and nls_charset12.zip.
I observed that IE does not download them every time. It downloads them only once and keep them in cache.
I don't think there is any way to explicitly make the browser cache archives selectively. (I would not want it to cache my applet's jar).
If you find a way please do post it here
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic