gpt4 book ai didi

java - 如何在 iFrame portlet 中嵌入应用程序(通过指定 url)

转载 作者:行者123 更新时间:2023-12-02 08:10:59 25 4
gpt4 key购买 nike

我正在尝试使用 Eclipse 3.7 IDE 在 portlet 中开发 iFrame(目的是嵌入一个在单击 portlet 时应该出现的应用程序)。最近开始了解portlet是什么。谁能告诉我什么是 iframe 以及如何使用它在此 iframe 中开发/嵌入(通过提供 url)应用程序

谢谢

最佳答案

iFrame 是页面上的 HTML 框架,允许您在页面内的不同 URL 处显示页面。

因此,如果您使用 iframe,则可以为其提供一个 URL,以指向您想要包含在页面上的应用程序页面。

所以它会是这样的:

<iframe id=​"someiframeid" src=​"http:​/​/path/to/other/page" height=​"500" name=""></iframe>

您可能想向 iframe 添加更多属性,这些属性可以是 here .

您还需要更多信息吗?​

关于java - 如何在 iFrame portlet 中嵌入应用程序(通过指定 url),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7440377/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com