Solved

HTML tag for ZIP applet

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
unix in java example 9 55
Java - sorting a list of objects where the properties of the objects can change during the sort 7 47
javap not working 8 39
MySQL  on Tomcat 8 30
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
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:

863 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

27 Experts available now in Live!

Get 1:1 Help Now