Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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.
 
I knew that guy would be trouble! Thanks tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic