Solved

HTML tag for ZIP applet

Posted on 1997-05-06
2
301 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Configure a Bean in an XML file 4 31
hibernate example issues from command prompt 10 41
null output 3 25
Desingning Refactoring existing code 2 24
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 learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

776 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