The GO-Joe applet ships with an example startup HTML file, xsession.html. You should save this file and not modify it. Make a copy of this file and rename it to x.html, for example.
The sample x.html file contains an example startup session that exercises some of the available parameters for the applet, but this file must be customized before it can be used.
Table 1-5 Applet Parameters
Parameter |
Description |
---|---|
width |
This parameter is specified in the APPLET tag and determines the width of the GO-Joe frame in the HTML file. Its format is browser- specific, but it can generally be an absolute number of pixels (for example, "width=800") or a percentage of the browser window's width (for example, "width=100%"). |
height |
This parameter is specified in the APPLET tag and determines the height of the GO-Joe frame in the HTML file. Its format is browser- specific, and it can generally be an absolute number of pixels (for example, "height=600") or a percentage of the browser window's height (for example, "height=90%"). |
server |
This parameter specifies the name or IP address of the host machine that runs the X session. |
port |
This parameter specifies the port number that is contacted by the GO-Joe applet. Usually, this is port 491; however, it may be different if the port is being used by a service other than the go-login service. |
token |
This parameter specifies an optional "token" value to be passed into the environment of the X session. See "Advanced Configuration Options"" in this chapter for information on the token parameter. |
The following is a sample xsession.html file that initiates a default session. This sample does not demonstrate all of the available parameters.
<HTML> <HEAD><TITLE>GO-Joe Example Session</TITLE></HEAD> <BODY> <HR> <APPLET ARCHIVE="gojoe.jar" CODE="gojoe.class" WIDTH="800" HEIGHT="600"> <PARAM NAME="server" VALUE="myhost"> <PARAM NAME="port" VALUE="491"> </APPLET> </BODY> </HTML>