Title: RE: help with applets...

You can use the tag ARCHIVE in your html code to
tell where to find the classes you need at run-time.

See example below:

<applet
code="com.lloyds.ppilot.applet.gui.PPilotApplet.class"
align="baseline" width="455" height="224"
archive="vbjorb.jar,idlgen.jar,vbjapp.jar">

Which means "execute the applet com.lloyds.ppilot.applet.gui.PPilotApplet.class
You will find the classes in the following jar files vbjorb.jar, etc..."

Note: in this example the jar files are in the same directory that the html file

Hope this will help

Gilles


-----Original Message-----
From: victor [mailto:vr39089@trishul.icil.co.in]
Sent: mardi, 21. septembre 1999 18:31
To: JAVA400-L@midrange.com
Subject: help with applets...


hi all,
I am working on an V4R2 and relatively new to java.
I am trying to access data from the as400 and display them using
applets.
Problem is the program is working fine with a main method but when
called from an applet gives
me an error "java.lang.NoClassDefFoundError: com/ibm/as400/access/AS400"
while
connecting to the database. It gives this error while using any of the
AS400 classes.
I have the toolbox installed on my pc and running the applet on my pc
itself.
Any suggestions??????
thanks,
victor




+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept for
the presence of computer viruses.
**********************************************************************


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.