如何部署为今天的浏览器(小程序,嵌入,对象)的Java小程序? [英] How to deploy a java applet for today's browsers (applet, embed, object)?
问题描述
如何部署现代浏览器的Java小程序?
我知道有莫名其妙的3种可能性,但没有人告诉我,他们使用哪一个preFER以及如何。
How do i deploy a java applet for modern browsers? I know there are somehow 3 possibilities but nobody tells me which one to prefer and how to use them.
有人对此持任何资源?我找不到任何:(
Does somebody have any resources on that? i cant find any :(
推荐答案
有在了Java教程的题为<一个href=\"http://download.oracle.com/javase/1,5.0/docs/guide/plugin/developer_guide/using_tags.html\">Using小程序,对象和嵌入代码从而解决该问题。
There is a section in The Java Tutorials titled Using applet, object and embed Tags which addresses the issue.
从<一个href=\"http://download.oracle.com/javase/1,5.0/docs/guide/plugin/developer_guide/using_tags.html#general\">General 的注意事项:
互联网对战内部网中部署小程序
Deploying Applets on the Internet Versus an Intranet
在部署applet的:
When deploying applets:
- 使用
小程序
标签如果Web
网页是通过互联网进行访问。 - 使用
对象
或如果网页是通过一个嵌入访问
标签
内联网。
- Use the
applet
tag if the Web page is accessed through the Internet. - Use the
object
orembed
tag if the Web page is accessed through an Intranet.
小程序部署为特定
浏览器
Deploying Applets for Specific Browsers
在部署applet的:
When deploying applets:
- 只适用于IE浏览器,使用
对象
标记。 - 对于Mozilla的
系列浏览器只,用
嵌入
标记。
- For Internet Explorer only, use the
object
tag. - For the Mozilla
family of browsers only, use the
embed
tag.
如果您必须部署在混合浏览器环境的小程序,请在部分<一个指引href=\"http://download.oracle.com/javase/1,5.0/docs/guide/plugin/developer_guide/using_tags.html#mixed\">Deploying小程序在混合浏览器环境。
If you must deploy an applet in a mixed-browser environment, follow the guidelines in the section Deploying Applets in a Mixed-Browser Environment.
应该注意的是,小程序
标记已经去precated,所以它可能不希望使用该标记。 (关于 信息
来自W3C 标签)
It should be noted that the applet
tag has been deprecated, so it's probably not desirable to use that tag. (More information on the applet
tag from the W3C)
(注:链接已经从previous编辑更新链接到Java教程)
(Note: Links have been updated from the previous edit to link to The Java Tutorials.)
这篇关于如何部署为今天的浏览器(小程序,嵌入,对象)的Java小程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!