Hi Bartek,

For a jar file, the HTML syntax should be:
<APPLET  CODE = "<full name of the main class (like
com.jsource.MyMainClass.class)>" WIDTH = "..." HEIGHT = "..." >
<PARAM NAME = "ARCHIVE" VALUE ="myfile.jar">
</APPLET>
If you use this syntax, make sure the jar file is located in the same folder as
the HTML page. You can also specify another location using the attribute
CODEBASE.
Hope this helps,

Xavier Lorphelin
JSource





Bartlomiej Paszkowski <[EMAIL PROTECTED]> on 08/05/99 05:54:23 AM
                                                              
                                                              
                                                              
 To:      [EMAIL PROTECTED]                               
                                                              
 cc:      (bcc: Xavier Lorphelin/Jsource)                     
                                                              
                                                              
                                                              
 Subject: [OCF] OCF and applets                               
                                                              






Hi,

I have a strange problem with jar files. A GPKCardServiceFactory (my code
for a GPK card (Gemplus)) is not seen in the jar file (in the APPLET tag
of a HTML page) and Netscape Navigator or appletviewer generates
classNotFound exceptions  but when the same jar is included into
<classpath> everything works fine. Any ideas ?

Thanks in advance,

Bartek.

Visit the OpenCard Framework's WWW site at http://www.opencard.org/ for
access to documentation, code, presentations, and OCF announcements.
-----------------------------------------------------------------------------
To unsubscribe from the OCF Mailing list, send a mail to
"[EMAIL PROTECTED]" with the word "unsubscribe" in the BODY of the
message.



Visit the OpenCard Framework's WWW site at http://www.opencard.org/ for
access to documentation, code, presentations, and OCF announcements.
-----------------------------------------------------------------------------
To unsubscribe from the OCF Mailing list, send a mail to
"[EMAIL PROTECTED]" with the word "unsubscribe" in the BODY of the
message.

Reply via email to