Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Location of downloaded archives

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have 2 questions concerning the use of applets in HTML.
Please help.
Question 1:
Where does the archive files specified in the "ARCHIVE" attribute of the "OBJECT" or "APPLET" tags being downloaded to.
I have searched the "Temporary Internet Files" folder in Windows 98 but only managed to find the applet class.
Question 2:
How can I run an applet in an archive instead of a standalone class? Can I specify an JAR file in the "CODEBASE" attribute to do this?
Thanks.
 
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Meng,
The Archive gets loaded into memory. The files are not placed onto any disk location (unless swapping is necessary) because it would be a breach of JVM security (No file reading/writing).
ARCHIVE tag is where you specify jar file names not the CODEBASE. The CODEBASE only specifies a directory in which your CODE is based. The CODEBASE could be a path inside the jar file.
Regards,
Manfred.
 
Meng Tan
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Manfred,
No wonder i cannot find the archive files.
This will set my mind at rest.
Thanks for your help.
 
Barry's not gonna like this. Barry's not gonna like this one bit. What is Barry's deal with tiny ads?
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic