.\" @(#)sdthotjavaaction.5 1.1 96/11/01 .\" Copyright (c) 1996 Sun Microsystems, Inc. .\" .TH sdthotjavaction 5 "31 Oct 1996" .BH "31 Oct 1996" .\" .\" .\" .SH "NAME" sdthotjava \- HotJava web browser actions .SH "AVAILABILITY" SUNWdthj .SH "SYNOPSIS" .B SDtHotJava [\f2url-file\fP] .sp .B SDtHotJava_Open \f2url-file\fP .sp .B SDtHotJava_Print \f2url-file\fP .\" .\" .\" .SH "DESCRIPTION" The HotJava Web Browser Services support the following web browser actions: .VL 6 .TP .B \f3SDtHotJava\fP\0[\f2url-file\fP] .br Open a view of the .I HotJava web browser. If no argument is specified the default home page is viewed. If a .I url-file argument is specified the URL contained within that file is viewed. .TP .B \f3SDtHotJava_Open\fP\0\f2url-file\fP .br Open a view of the URL contained within the .I url-file argument. The type of view depends on the type of URL in the .I url-file. .TP .B \f3SDtHotJava_Print\fP\0\f2url-file\fP .br Print the view of the URL contained within the .I url-file argument. .VL .P These actions can be invoked from an application using the .I DtActionInvoke(3) function or invoked from a command line using the .I dtaction(1) utility. .\" .\" .\" .SH "USER PREFERENCES" The .BR sdtwebaction (5) .I WebBrowser action starts the user's preferred web browser. The .I SDtHotJava action can be specified as the preferred web browser by creating a map action as follows. This would normally be saved in an action file in $HOME/.dt/types. .P .nf ACTION WebBrowser { LABEL HotJava Web Browser ICON SDtwebbr TYPE MAP MAP_ACTION SDtHotJava } .fi .\" .\" .\" .SH "DATATYPES" The above actions use the URL (Uniform Resource Location) datatypes which are described in the .BR sdtwebaction (5) man page. These include: WEB_URL, FILE_URL, and MAILTO_URL. .\" .\" .\" .SH "FILES" .PD 0 .TP 41 .B /usr/dt/appconfig/types/C/sdthotjava.dt .I HotJava actions .TP .B /usr/dt/appconfig/types/C/user-prefs.dt Default preferences .TP .B $HOME/.dt/types/user-prefs.dt User preferences .PD .\" .\" .\" .SH "SEE ALSO" .na .BR dtaction (1), .BR DtActionInvoke (3), .BR dtactionfile (4), .BR sdtwebaction (5)