How do I write HTML tags for an applet that imports classes from another jar in another package?
From: Ding (wuliaoren2_at_yahoo.com)
Date: 06/30/04
- Next message: Chris Smith: "Re: Certification... just lost a job offer"
- Previous message: Jim: "Certification... just lost a job offer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jun 2004 12:28:07 -0700
What I did was like this:
<applet name="MyApplet" code="com.ding.MyApplet.class"
codebase="./dev/main/bld" archive="applets.jar"
codebase="./dev/main/lib" archive="comm.jar"
width="10%" height="10%" mayscript>
</applet>
I imported some classes in comm.jar to MyApplet, but they are not in
the same path as MyApplet, so the applet could not be inited because
it can't find the classes in comm.jar. If I copy comm.jar to bld
directory and include the jar file in archive, it'll find it. But they
shouldn't be in the same directory. What should I do? Please help.
- Next message: Chris Smith: "Re: Certification... just lost a job offer"
- Previous message: Jim: "Certification... just lost a job offer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|