Consultor Eletrônico



Kbase P9901: How to run an applet within WebSpeed application?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

GOAL:

How to run an applet within WebSpeed application?

FACT(s) (Environment):

Progress 9.1x

FIX:

Use codebase attribute of the APPLET tag to let the client know how to locate
the applet class. You will have to create an alias on the WebServer pointing to location of the applet class.

Here is an example:
- applet class is c:\j2sdk\demo\applets\Blink\Blink.class
- alias in WebServer /applets pointing to c:\j2sdk\demo\applets\Blink
- the html APPLET tag will be:
<applet codebase="http://hostname:port/applets"
code="Blink.class"
width="100"
height="200" >
<param name=lbl value="This is the next best thing to sliced bread! Toast, toast, toast, butter, jam, toast, marmite, toast.">
<param name=speed value="4">
</applet>