如何为当今的浏览器(applet,embed,object)部署一个java小程序? [英] How to deploy a java applet for today's browsers (applet, embed, object)?

查看:254
本文介绍了如何为当今的浏览器(applet,embed,object)部署一个java小程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为现代浏览器部署一个java小程序?
我知道有3种可能性,但没有人告诉我哪个人喜欢和如何使用它们。



有人有任何资源吗?我不能找到任何:(

解决方案

Java教程,标题为使用解决问题的applet,object和embed标签



一般注意事项


在Internet上部署Applet与内部网



部署小程序时:




  • 如果通过Internet访问Web
    页面,请使用 applet 标签。

  • 如果网页通过$ b访问,请使用对象 embed 标签$ b Intranet。



部署A pplets for specific
浏览器



部署小程序时:




  • 仅使用Internet Explorer,请使用
    对象标签。

  • 仅适用于Mozilla
    系列浏览器,请使用
    embed 标签



如果您必须部署一个小程序在混合浏览器环境中,请遵循在混合浏览器环境中部署Applet


应该注意的是,$ code> applet 标签已被弃用,因此可能不需要使用该标签。 (有关 applet的更多信息标签



(注意:链接已从上一次编辑更新到链接到Java教程。) / p>

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 :(

解决方案

There is a section in The Java Tutorials titled Using applet, object and embed Tags which addresses the issue.

From the General Considerations:

Deploying Applets on the Internet Versus an Intranet

When deploying applets:

  • Use the applet tag if the Web page is accessed through the Internet.
  • Use the object or embed tag if the Web page is accessed through an Intranet.

Deploying Applets for Specific Browsers

When deploying applets:

  • For Internet Explorer only, use the object tag.
  • For the Mozilla family of browsers only, use the embed tag.

If you must deploy an applet in a mixed-browser environment, follow the guidelines in the section Deploying Applets in a Mixed-Browser Environment.

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)

(Note: Links have been updated from the previous edit to link to The Java Tutorials.)

这篇关于如何为当今的浏览器(applet,embed,object)部署一个java小程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆