Solved

HTML tag for ZIP applet

Posted on 1997-05-06
2
283 Views
Last Modified: 2012-06-21
Hello Everbody,Currently I am working on a Java project which consists of hundreds of class files.  Much overhead time will be wasted during the network transfer.  Accordingly, these class files can be pack them into one big file by ZIP.  My problem is how to make the HTML file notify the browser for such scheme.  What I know is an HTML tag called <ARCHIVE> is doing this job.  However, I do not know how implement it actually.
0
Comment
Question by:ma0205
2 Comments
 
LVL 6

Accepted Solution

by:
jpk041897 earned 100 total points
ID: 1220203
The following is from Netscape's Docs:

 <applet archive="Nuclear.zip"
    code="NuclearPlant.class"
    width=680 height=473>
  </applet>


This will cause the file Nuclear.zip to be downloaded to the user's
disk, and will search it for the NuclearPlant class and the classes it
requires. The zip file is found relative to the codebase path, and must
not be compressed.  Classes not in the zip file will still be searched
for via the old mechanism if required.



You might also want to look at:

http://www.telepath.com/pandeng/greenbay.html

to help you build the archive.

0
 

Author Comment

by:ma0205
ID: 1220204
I suppose to give you the points yesterday; however, I can't get access to this page.  Sorry for the delay.  Anyway, you are a life saver.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now