简体   繁体   English

如何将web页面嵌入到小程序中

[英]How to embed web page into applet

Just little half theoretical question.只是一半的理论问题。 Is it possible to embed web page from URL into java applet?是否可以将URL中的web页面嵌入到java小程序中?

Applet applet1 is on page1.html on server1 and I want to embed applet1 into page1.html on server1 . Applet applet1server1上的page1.html上,我想将applet1嵌入到server1上的page1.html中。 And in applet1 would be page2.html on server2 embedded.并且在applet1中将嵌入server2上的page2.html If it is possible how to do it?如果可能怎么办? I need to use applet for embedding page2.html instead of iframe because of mouse tracking over page2.html for example.我需要使用 applet 来嵌入page2.html而不是iframe ,因为鼠标在page2.html上进行跟踪。

You can add html from site to panel of applet, but it will be not analog of iframe. This solution has problem with display html with css and another problems.您可以将 html 从站点添加到小程序面板,但它不会模拟 iframe。此解决方案在显示 html 和 css 时存在问题,还有其他问题。

Maybe this will be helpful: link1 link2也许这会有所帮助: link1 link2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM