


You can use the HTML <EMBED> tag to embed your COBOL application in the HTML document. Using this tag, you define a rectangular area within your Web page that a COBOL application can use as its initial "window."
Remember, you can specify the runtime options "-d", "-l", "-e", "-x", or "-v" in the HTML EMBED tag by using the OPTIONS keyword. Starting Version 4.1 of the plug-in, you can also use the "-c" option to specify the name of the configuration file to use when running the COBOL object. For example:
<EMBED SRC="myprog.acu" WIDTH=400 HEIGHT=200 OPTIONS="-c myconfig -dlex myerrs">
embeds "myprog.acu" on the Web page with configuration file "myconfig" and various options. In this example, "myprog.acu" could be an entire COBOL application, or it could be the initial COBOL object of a distributed application using AcuServer or AcuConnect, or it could be the name of a library file.
When a user visits this Web page, the embedded object ("myprog.acu") is automatically sent from the Web server to the client machine where it immediately starts running inside the user's browser window. Configuration variables are read from the configuration file "myconfig", and errors are written to the error file "myerrs".
While the COBOL object or library is downloading and after the COBOL program exits, the plug-in displays a splash screen in the browser window. You can disable this feature by setting NOLOGO=1 in the HTML EMBED tag.