Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

HTML tag for ZIP applet

Posted on 1997-05-06
2
Medium Priority
?
335 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 200 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month13 days, 7 hours left to enroll

579 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