java applet 是否可以热链接?
之前已添加类似的问题: 如何从另一个网站嵌入 Java Applet(无法链接他们的类文件和 jar)
然而,提出问题的人实际上不需要热链接。
我的小程序将无法在自己的环境之外的其他环境中运行。
iframe 是否是我最后的希望?
Similar question had been added earlier: How to embed a Java Applet from another website (can't link their class file and jar)
however someone who asked question didn't need hotlinking in fact.
My applet will not be able to run in other environment than own.
Whether iframe
s are my last hope?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从另一个网站托管小程序就像设置适当的
codebase
属性一样简单。 EG 我网站上的属性小程序(查看 HTML 源代码以了解详细信息)可以在本地启动(或从另一个网站)使用此 HTML。如果小程序希望查找相对于文档库而不是代码库的(非类)资源,则会遇到问题。
Hosting an applet from another web site can be as easy as setting an appropriate
codebase
attribute. E.G. The properties applet at my site (view the HTML source for the gory details) can be launched locally (or from another site) using this HTML.It will run into problems if the applet expects to find (non class) resources relative to the document base, as opposed to the code base.