Differences between current version and predecessor to the previous major change of appletviewer(1).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Wednesday, November 19, 2003 6:37:46 pm | by AristotlePagaltzis | |
Older page: | version 3 | Last edited on Tuesday, January 28, 2003 2:50:45 pm | by CraigBox | Revert |
@@ -1,38 +1,20 @@
-NAME
-
appletviewer - Java applet viewer
+!!!
NAME
+;:
appletviewer - [
Java]
applet viewer
-SYNOPSIS
- appletviewer [[ -debug ] [[ -encoding encoding_name ]
- [[ -J javaoption ] urls ...
-DESCRIPTION
- The
appletviewer command runs Java applets outside of the
- context of a World Wide Web browser
.
+!!!SYNOPSIS
+;:
appletviewer [[ -debug ] [[ -encoding ''encoding_name'' ] [[ -J ''javaoption'' ] ''[url|URL]s'' ..
.
-
The appletviewer command connects to the document(s) or
- resource(s) designated by urls and displays each applet
- referenced by that document in its own window. Please
- note that if the documents referred to by urls do not ref
- erence any
applets with
the OBJECT, EMBED, or APPLET tag,
- appletviewer does nothing
.
+!!!DESCRIPTION
+;:
The
appletviewer command runs Java
applets outside of
the context of a World Wide Web browser
.
- appletviewer Tags
-
The
appletviewer makes
it possible to run a Java applet
- without using a browser.
appletviewer
ignores
any
HTML
-
that is
not immediately relevant to launching an applet.
- However, it recognizes a wide variety of
applet-launching
- syntax
. The HTML code
that appletviewer recognizes is
- shown below. All other HTML code is ignored
.
+;:
The appletviewer command connects to
the
document(s)
or resource(s)
designated
by
urls and displays each applet
referenced by
that document in
its
own
window
. Please note
that if the documents referred to by urls do not reference any applets with the OBJECT, EMBED, or APPLET tag,
appletviewer does nothing
.
- object
The object tag is the HTML 4.0 tag for embedding
- applets
and
mult-media objects
into an HTML
- page
. It
is
also
an
Internet Explorer 4.x
- extension
to HTML 3
.2 which allows IE to run
a
- Java
applet using the latest
Java
plugin
from
- Sun
.
+;appletviewer Tags:
The appletviewer
makes
it possible to run a Java applet without using a browser
. appletviewer
ignores
any
[HTML] that
is
not immediately relevant
to launching an applet
. However, it recognizes
a wide variety of
applet-launching syntax. The
[HTML]
code
that appletviewer recognizes is shown below. All other [HTML] code is ignored
.
-
<object
+;object:The object tag is the HTML 4.0 tag for embedding applets and multi-media objects into an [HTML] page. It is also an Internet Explorer 4.x extension to HTML 3.2 which allows IE to run a Java applet using the latest Java plugin from Sun.
+
<object
width="pixelWidth"
height="pixelHeight"
>
<param name="code" value="yourClass.class">
@@ -41,80 +23,46 @@
...
alternate-text
</object>
-
Please note:
-
- ·
appletviewer ignores the "classID" attribute,
-
on the assumption that it is pointing to the
-
Java plugin, with the value:
+;
Please note:
+*
appletviewer ignores the "classID" attribute, on the assumption that it is pointing to the Java plugin, with the value:
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
-
- ·
appletviewer also ignores the "codebase"
-
attribute that is usually included as part of
-
the object tag, assuming that it points to a
-
Java plugin in a network cab file with a value
-
like:
+*
appletviewer also ignores the "codebase" attribute that is usually included as part of the object tag, assuming that it points to a Java plugin in a network cab file with a value like:
codebase="http://java.sun.com/products/plugin/1.1/jinstall-11.cab#Version=1,1,0,0"
- ·
The optional codebase param tag supplies a
-
relative URL that specifies the location of
-
the applet class.
+*
The optional codebase param tag supplies a relative URL that specifies the location of the applet class.
- ·
Either code or object is specified, not both.
+*
Either code or object is specified, not both.
- ·
The type param tag is not used by
-
appletviewer, but should be present so that
-
browsers load the plugin properly. For an
-
applet, the value should be something like:
+*
The type param tag is not used by appletviewer, but should be present so that browsers load the plugin properly. For an applet, the value should be something like:
<param name="type"
value="application/x-java-applet;version=1.1">
or
<param name="type" value="application/x-java-applet">
-
For a serialized object or JavaBean, the type
-
param value should be something like:
+For a serialized object or !
JavaBean, the type param value should be something like:
<param name="type"
value="application/x-java-bean;version=1.1">
or
<param name="type" value="application/x-java-bean">
- ·
Other param tags are argument values supplied
-
to the applet.
+*
Other param tags are argument values supplied to the applet.
- ·
The object tag recognized by IE4.x and the
-
embed tag recognized by Netscape 4.x can be
-
combined so that an applet can use the latest
-
Java plugin from Sun, regardless of the
-
browser that downloads the applet.
+*
The object tag recognized by IE4.x and the embed tag recognized by Netscape 4.x can be combined so that an applet can use the latest Java plugin from Sun, regardless of the browser that downloads the applet.
- ·
appletviewer does not recognize the java_code,
-
java_codebase, java_object, or java_type param
-
tags. These tags are only needed when the
-
applet defines parameters with the names code,
-
codebase, object, or type, respectively. (In
-
that situation, the plugin recognizes and uses
-
the java_ version in preference to the version
-
that will be used by the applet.) If the
-
applet requires a parameter with one of these
-
4 names, it may not run in appletviewer.
+*
appletviewer does not recognize the java_code, java_codebase, java_object, or java_type param tags. These tags are only needed when the applet defines parameters with the names code, codebase, object, or type, respectively. (In that situation, the plugin recognizes and uses the java_ version in preference to the version that will be used by the applet.) If the
applet requires a parameter with one of these 4 names, it may not run in appletviewer.
-
embed
The embed tag is the Netscape extension to HTML
-
3.2 that allows embedding an applet or a multi
- media
object in an HTML page. It allows a
-
Netscape 4.x browser (which supports HTML 3.2)
-
to run a Java applet using the latest Java plu
-
gin
from Sun.
-
-
<embed
+;
embed:
The embed tag is the Netscape extension to HTML 3.2 that allows embedding an applet or a multimedia
object in an HTML page. It allows a Netscape 4.x browser (which supports HTML 3.2) to run a Java applet using the latest Java plugin
from Sun.
+
<embed
code="yourClass.class"
object="serializedObjectOrJavaBean"
codebase="classFileDirectory"
width="pixelWidth"
@@ -122,70 +70,42 @@
>
...
</embed>
-
Please note that:
+!!
Please note that:
- ·
The object and embed tags can be combined so
-
that an applet can use the latest Java plugin
-
from Sun, regardless of the browser that down
-
loads the applet. For more information, see
-
the Java PlugIn HTML Specification
+*
The object and embed tags can be combined so that an applet can use the latest Java plugin from Sun, regardless of the browser that down loads the applet. For more information, see the Java PlugIn HTML Specification
- ·
Unlike the object tag, all values specified in
-
an embed tag are attributes (part of the
tag)
-
rather
than parameters (between the start tag
-
and end tag, specified with a param tag.
+*
Unlike the object tag, all values specified in an embed tag are attributes (part of the tag) rather than parameters (between the start tag and end tag, specified with a param tag.
- ·
To supply argument values for applet parame
- ters
, you add additional attributes to the
-
<embed> tag.
+*
To supply argument values for applet parameters
, you add additional attributes to the <embed> tag.
- ·
appletviewer ignores the "src" attribute that
-
is usually part of an <embed> tag.
+*
appletviewer ignores the "src" attribute that is usually part of an <embed> tag.
- ·
Either code or object is specified, not both.
+*
Either code or object is specified, not both.
- ·
The optional codebase attribute supplies a
-
relative URL that specifies the location of
-
the applet class.
+*
The optional codebase attribute supplies a relative [
URL]
that specifies the location of the applet class.
- ·
The type attribute is not used
by
-
appletviewer, but should be present so that
-
browsers load the plugin properly. For an
-
applet, the value should be something like:
+*
The type attribute is not used by appletviewer, but should be present so that browsers load the plugin properly. For an applet, the value should be something like:
<type="application/x-java-applet;version=1.1">...
or
<type="application/x-java-applet">...
-
For a serialized object or JavaBean, the type
-
param value should be something like:
+For a serialized object or JavaBean, the type param value should be something like:
<type="application/x-java-bean;version=1.1">...
or
<type="application/x-java-bean">...
- ·
The pluginspage attribute is not used by
-
appletviewer, but should be present so that
-
browsers load the plugin properly. It should
-
point to a Java plugin in a network cab file
-
with a value like:
+*
The pluginspage attribute is not used by appletviewer, but should be present so that browsers load the plugin properly. It should point to a Java plugin in a network cab file with a value like:
pluginspage="http://java.sun.com/products/plugin/1.1/jinstall-11.cab#Version=1,1,0,0"
-
applet
The applet tag is the original HTML 3.2 tag for
-
embedding an applet in an HTML page. Applets
-
loaded using the applet tag are run by the
-
browser, which may not be using the latest ver
- sion
of the Java platform. To ensure that the
-
applet runs with the latest version, use the
-
object tag to load the Java plugin into the
-
browser. The plugin will then run the applet.
-
+;
applet:
The applet tag is the original HTML 3.2 tag for embedding an applet in an HTML page. Applets loaded using the applet tag are run by the
browser, which may not be using the latest version
of the Java platform. To ensure that the
applet runs with the latest version, use the object tag to load the Java plugin into the browser. The plugin will then run the applet.
<applet
code="yourClass.class"
object="serializedObjectOrJavaBean"
codebase="classFileDirectory"
@@ -196,23 +116,17 @@
...
alternate-text
</applet>
-
Please note that:
+;
Please note that:
- ·
Either code or object is specified, not both.
+*
Either code or object is specified, not both.
- ·
The optional codebase attribute supplies a
-
relative URL that specifies the location of
-
the applet class.
+*
The optional codebase attribute supplies a relative URL that specifies the location of the applet class.
- ·
param tags supply argument values for applet
-
parameters.
+*
param tags supply argument values for applet parameters.
-
app
The app tag was a short-lived abbreviation for
-
applet that is no longer supported.
-
appletviewer translates the tag and prints out
-
an equivalent tag that is supported.
+;
app:
The app tag was a short-lived abbreviation for applet that is no longer supported. appletviewer translates the tag and prints out an equivalent tag that is supported.
<app
class="classFileName" (without a .class suffix)
src="classFileDirectory"
@@ -222,37 +136,20 @@
<param name="..." value="...">
...
</app>
-OPTIONS
-
The following options are supported:
-
- -debug Starts the applet viewer in the Java debugger,
- which debugs applets in the document. (See
- jdb(1).)
-
- -encoding encoding_name
- Specifies the input HTML file encoding name.
-
- -J javaoption
- Passes the string javaoption through as a single
- argument to java(1) which runs the compiler.
- The argument should not contain spaces. Multiple
- argument words must all begin with the pre
- fix -J, which is stripped. This is useful for
- adjusting the execution environment or compiler
- memory usage.
-
-SEE ALSO
- For more information, see
+!!!
OPTIONS
+The following options are supported:
- http
://java
.sun.com/j2se/
1.4/docs/guide/plugin/developer_guide/
+;-debug
:Starts the applet viewer in the Java debugger, which debugs applets in the document
. (See jdb(
1)
.)
- or search www
.java.sun.com for "Java PlugIn HTML
- Specification"
+;-encoding ''encoding_name'': Specifies the input HTML file encoding name
.
- 23 Apr 2001 appletviewer
(1)
+;-J ''javaoption'': Passes the string javaoption through as a single argument to java
(1) which runs the compiler. The argument should not contain spaces. Multiple argument words must all begin with the prefix -J, which is stripped. This is useful for adjusting the execution environment or compiler memory usage.
-----
+!!!SEE ALSO
+For more information, see http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/ or search http://www.java.sun.com/ for "Java PlugIn [HTML] Specification"
+%%%java(1)
- runs a class file, instead of an [HTML] file with an applet
!User Submitted Notes
(To get a [[bracketed non-link], you have to use two brackets. Inspect this source.)
+>>>>>>> Other version