too jar files for one applet

A

autogoor

Hi, I have a Applet which is dependent on two jar files. Here is my
html:

<html>
<body>
<OBJECT classid="clsid:CAFEEFAC-0014-0002-0000-ABCDEFFEDCBA"
width="450" height="350" align="baseline" mayscript="mayscript"
name="***"

codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,0">
<PARAM name="code" value="mypackage.MyApplet">
<PARAM name="archive" value="jarfile1.zip;jarfile2.jar">
<PARAM name="type"
value="application/x-java-applet;jpi-version=1.4.2">

I found that the jarfile2.jar is not found by my applet? What is the
correct way to define multiply jar files for Applet?

Thanks,

autogoor
 
R

Rhino

Hi, I have a Applet which is dependent on two jar files. Here is my
html:

<html>
<body>
<OBJECT classid="clsid:CAFEEFAC-0014-0002-0000-ABCDEFFEDCBA"
width="450" height="350" align="baseline" mayscript="mayscript"
name="***"

codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-
i586.cab#Version=1,4,2,0">
<PARAM name="code" value="mypackage.MyApplet">
<PARAM name="archive" value="jarfile1.zip;jarfile2.jar">
<PARAM name="type"
value="application/x-java-applet;jpi-version=1.4.2">

I found that the jarfile2.jar is not found by my applet? What is the
correct way to define multiply jar files for Applet?
I don't think I've ever done an applet that needed two jars so I don't know
for sure. However, if I had to guess, I'd try using each of the following
instead of the semicolon until I found the one that worked. After all, you
only need to change one character then try again to see which one it is:
- space
- comma
- colon
- exclamation (bang)

That should take you all of 30 seconds and is probably faster than trying to
find a reference manual that tells you - or waiting for a Usenet response.

Rhino
 
L

Loek Raemakers

Reading your code as far as HTML ARCHIVE is concerned you use a .zip and .jar
file.
Do you both call them jar?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top