Consultor Eletrônico



Kbase 19675: SonicMQ: Example for HTML Code for Use With an Applet
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   14/12/2000
SUMMARY:

The following is an example of HTML code to run an applet using
Progress SonicMQ.

SOLUTION:

Contents of file JMStest.html:

<html>
<head>
<meta name="AUTHOR" content="rwe">
<meta name="DATE" content="April 8, 2000, 17:04:46">
<title>JMSTEST</title>
</head>
<APPLET CODEBASE="/E:/wrk/java/applet/"
ARCHIVE="client.jar, jndi.jar, gnu-regexp-1.0.6.jar"

CODE="JMSApplet.class" width=800 height=600>
</APPLET>
</body>
</html>

Directory contents of the code:

04/08/00 04:55p <DIR> .
04/08/00 04:55p <DIR> ..
04/08/00 05:02p 110 appletview.bat
01/04/00 01:46p 946,659 client.jar
01/04/00 01:46p 24,051 gnu-regexp-1.0.6.jar
04/08/00 04:36p 4,803 JMSActioner.class
04/08/00 04:36p 3,539 JMSApplet.class
04/08/00 05:09p 323 JMStest.html
01/04/00 01:46p 98,496 jndi.jar
9 File(s) 1,077,981 bytes

Contents of the start script appletview.bat:

set path=d:\jdk1.2\jre\bin;d:\jdk1.2\bin
set CLASSPATH=.;d:\jdk1.2\jre\lib\rt.jar;
appletviewer JMStest.html

NOTE:There are additional security considerations and restrictions
on archive for specific web browsers, for example Internet Explorer.

References To Written Documentation:

Progress Knowledge Base Solutions 19405, 19528 and 18156.

Vendor specific documentation on their web sites.