00000001.htm
来自「水木清华BBS」· HTM 代码 · 共 677 行 · 第 1/5 页
HTM
677 行
on Win32 are as follows: <BR> - Windows 95, Windows 98 or Windows NT 4.0 <BR> - Internet Explorer 3.02 and higher, Navigator 3.0 and higher <BR> - Pentium 90 MHz or faster processor <BR> - 25 MB free hard disk space <BR> - 16 MB (24 MB recommended) system RAM <BR>Java Plug-in works best over direct LAN (that is, Ethernet) <BR>connections. It will also function properly over dial-up <BR>modem (28.8 or faster). <BR> <BR>-- <BR> <BR> 世间有百媚千红 我独爱你那一种。 <BR> <BR> <BR>※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: Software-Engine] <BR>发信人: Yapith (早起的鸟儿有食吃), 信区: Java <BR>标 题: java plugin的使用说明--- (二) <BR>发信站: BBS 水木清华站 (Sat Sep 18 19:42:50 1999) <BR> <BR>本篇是讲述如何用特殊的tag写一个可以让java plugin辨认的applet代码的。 <BR>哦,忘记说明了。所谓java plugin就是jre1.2(java runtime envirnment). <BR>客户方只要安装了它就可以运行jdk1.2编写的applet了。当然,你的嵌入 <BR>applet的页面必须按照本文所说的方式引用applet.就是用特殊的tag告诉 <BR>浏览器:这是个jdk1.2的applet,请使用java plugin来解释执行它。 <BR>我把它从SUN荡下来,在 166.111.4.80 和 ftp.cs.pku.edu.cn上各放了一份。 <BR> <BR>JAVATM PLUG-IN HTML SPECIFICATION <BR> <BR>*Introduction <BR>*JavaTM Plug-in in IE on Windows 95, Windows 98 <BR> or Windows NT 4.0 operating environments <BR>*Java Plug-in in NavigatorTM on Windows 95, <BR>Windows 98, Windows NT 4.0, or SolarisTM operating <BR> environments <BR>* Java Plug-in in IE and Navigator <BR>* Java Plug-in Anywhere <BR>* Summary <BR>***Introduction <BR> JavaTM Plug-in is a product from Sun Microsystems, <BR>Inc. that runs beans or applets written in the Java <BR>programming language in an HTML page using Sun's <BR>Java virtual machine (JVM). To launch Java Plug-in <BR>when IE or Netscape NavigatorTM browses an HTML <BR>page, use the OBJECT tag and the EMBED tag in the <BR>HTML specification. <BR>This document explains the OBJECT tag and EMBED tag <BR>styles required in Java Plug-in. It is intended for <BR>users who want to manually insert Java Plug-in tags <BR>in their HTML pages. There is a Java Plug-in HTML <BR>Converter available free-of-charge from Sun Microsystems <BR>that automatically does this for you. <BR>The tag style described in this document has been <BR>designed to work in the future when new browsers <BR>are released on Windows 98, Windows NT 5.0 and <BR>future versions of Solaris operating systems. <BR>The information in this specification has been <BR>tested on various platforms. <BR>Details <BR>Applets are in wide use today on the Internet. <BR>They are normally specified in an HTML file as <BR>follows: <BR><APPLET code="XYZApp.class" codebase="html/" <BR>align="baseline" width="200" height="200"> <BR><PARAM NAME="model" VALUE="models/HyaluronicAcid.xyz"> <BR> No JDK 1.2 support for APPLET!! <BR></APPLET> <BR> <BR>Normally, an APPLET tag specifies the information <BR>about the applet and the <PARAM> tags between the <BR><APPLET> and </APPLET> tag store the per-instance <BR>applet information. <BR>Because an APPLET tag is rendered by the browser, <BR>there is no easy way to interrupt the browser and <BR>use Sun's JVM to run the applet. Instead, to use <BR>Java Plug-in, you must use the Java Plug-in tag <BR>(OBJECT or EMBED) in place of the APPLET tag in <BR>an HTML page. <BR>Java Plug-in in IE on Windows 95, Windows 98 or <BR>Windows NT 4.0 <BR>To use Java Plug-in in IE on Windows 95, Windows <BR>98 or Windows NT 4.0, use the OBJECT tag. The <BR>following is an example of mapping an APPLET tag <BR>to a Java Plug-in tag: <BR>Original APPLET tag: <BR><APPLET code="XYZApp.class" codebase="html/" align="baseline" <BR> width="200" height="200"> <BR><PARAM NAME="model" VALUE="models/HyaluronicAcid.xyz"> <BR> No JDK 1.2 support for APPLET!! <BR></APPLET> <BR>New OBJECT tag: <BR><OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" <BR> width="200" height="200" align="baseline" <BR> codebase="<A HREF="http://java.sun.com/products/plugin/1.2/">http://java.sun.com/products/plugin/1.2/</A> <BR>jinstall-12-win32.cab#Version=1,2,0,0"> <BR> <PARAM NAME="code" VALUE="XYZApp.class"> <BR> <PARAM NAME="codebase" VALUE="html/"> <BR> <PARAM NAME="type" VALUE="application/x-java-applet;version=1.2"> <BR> <PARAM NAME="model" VALUE="models/HyaluronicAcid.xyz"> <BR> No JDK 1.2 support for APPLET!! <BR></OBJECT> <BR> <BR> Note that the OBJECT tag contains similar information to <BR>the APPLET tag. It is sufficient to launch Java Plug-in in <BR>IE. The classid in the OBJECT tag is the class identifier <BR>for Java Plug-in itself. This class identifier should be <BR>the same in every HTML page. When IE renders this class <BR>identifier in the OBJECT tag, it will try to load Java Plug-in <BR>into the browser. <BR>There are several attributes in the OBJECT tag, such as width, <BR>height and align, that are mapped directly from the corresponding <BR>attributes in the APPLET tag. These contain formatting information <BR>that IE will use to position Java Plug-in. Since this information <BR>is mapped directly without changes, the position and appearance of <BR>the applets using Java Plug-in should be the same as those applets <BR>using the APPLET tag. <BR>Not all attributes in the APPLET tag can be mapped to the OBJECT <BR>tag attributes. For example, the attributes code and codebase in <BR>the APPLET tag are not mapped into the OBJECT tag attribute. <BR>Instead, the attribute code is mapped into the PARAM code because, <BR>according to the HTML specification, the attribute code does not <BR>exist in the OBJECT tag. There are other attributes that do not <BR>correspond in the OBJECT tag attributes. These attributes, with <BR>one exception, should be mapped to PARAM tags. <BR>The one exception is the codebase attribute. In the APPLET tag, <BR>the codebase attribute represents the location from which to <BR>download additional class and jar files. However, in the OBJECT <BR>tag, the codebase attribute represents the location from which <BR>to download Java Plug-in when it is not found on the local machine. <BR>Because the codebase attribute has two different meanings in the <BR>APPLET and OBJECT tags, you must resolve this conflict by mapping <BR>this attribute into a PARAM codebase in the OBJECT tag. <BR>In the above example, the code and codebase attributes in the APPLET <BR>tag are mapped into the OBJECT tag parameters. The PARAM code <BR>identifies the applet, and its value should be the same as the <BR>code attribute in the APPLET tag. The PARAM codebase identifies <BR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?