java plugin的问题

coaa 2004-04-29 03:58:02
比如说,客户端需要下载java plugin1.4.
于是弹出一个安全信任的页面,然后去sun网站上开始download.
但是我想把这个做到自己的服务器上,可以吗?
有没有license的问题?
...全文
284 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Sam1983 2004-07-03
  • 打赏
  • 举报
回复
to coaa(我吃多了):
刚好遇到这个问题,谢了
春秋2000 2004-04-29
  • 打赏
  • 举报
回复
应该要license的吧
coaa 2004-04-29
  • 打赏
  • 举报
回复
http://java.sun.com/products/plugin/1.3/docs/intranet.html
--------------------------------------------------------
Deploying Java Plug-in with Internet Explorer (IE)
To deploy the Java Plug-in in intranet environments with IE, web page authors must convert the <APPLET> tags in the HTML file to <OBJECT> tags. The actual mapping between the <APPLET> tag and the <OBJECT> tag is specified in the Java Plug-in HTML Specification from Sun Microsystems. Here is an example:

Original APPLET tag:


<APPLET code="XYZApp.class" codebase="html/" align="baseline"
width="200" height="200">
<PARAM NAME="model" VALUE="models/HyaluronicAcid.xyz">
No JDK 1.3 support for APPLET!!
</APPLET>





New OBJECT tag:


<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="200" height="200" align="baseline"
codebase="http://javaweb.eng/plugin/jre-1_3-win.exe#Version=1,3,0,0">

<PARAM NAME="code" VALUE="XYZApp.class">
<PARAM NAME="codebase" VALUE="html/">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
<PARAM NAME="model" VALUE="models/HyaluronicAcid.xyz">
No JDK 1.3 support for APPLET!!
</OBJECT>





To deploy Java Plug-in in intranet environments with IE, you need to download and store the Java Plug-in binary file on one of your web servers. Then you need to modify the codebase attribute inside the <OBJECT> tag in the HTML file. For example, if you want to use the Java Plug-in binary file in "http://javaweb.eng/plugin/", then you can specify the codebase attribute as "http://javaweb.eng/plugin/jre-1_3-win.exe#Version=1,3,0,0". Please note the version number in the URL. For Java Plug-in 1.3 (shown in the example), the version number is 1,3,0,0. This version number will change for each release. You are required to change the version number inside the <OBJECT> tag in the HTML file if you want to specify the newest release of Java Plug-in. The file jre-1_3-win.exe is the same binary file that you can download directly from the Java Software web site, and it is digitally signed with a VeriSign digital signature signed by "Sun Microsystems, Inc.". If you are using the Java Plug-in HTML Converter, you can simply change the conversion template file to specify the latest Plug-in version (the CabFileLocation variable) before the conversion. Please consult the README file in the Java Plug-in HTML Converter for information about modifying the conversion template.

Once you implement these changes, when a machine that does not have Java Plug-in installed browses an HTML page with IE, IE will look into your predefined location (http://javaweb.eng/plugin in this case) and download Java Plug-in. Notice that there is no need to download Java Plug-in over the firewall if the web server is inside the intranet, or if your machine is not isolated inside the firewall.

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧