在 Lotus 网页中包含 JSP

发布于 2024-09-05 18:39:20 字数 556 浏览 1 评论 0原文

有没有办法将 jsp 页面(它返回的内容)包含到 Lotus 网页中?

我需要的是相当于

端使用(“lotus 标签”,如果存在)

但要在Lotus 标签将返回一个 HTML 字符串并由 Lotus 使用。

请注意,我对Lotus一无所知,这个询问是在开发项目之前进行的,而且我在JSP方面:)

我们将需要Lotus方面调用大约1到10个jsp文件来构建页面,但此时我们遇到了一个技术问题。第一个想法是由 Lotus 对每个 jsp 部分进行 Ajax 调用,但是由于这也应该在没有 JavaScript 的情况下工作,因此这不是一个好的选择。

从我的“JSP 开发人员角度”来看,我告诉 Lotus 开发人员“只需在需要的地方包含我的 jsp”,但看起来这并不容易完成,因此提出了这个问题。我认为/仍然希望 Lotus 开发人员可以使用一种简单的技术将我的 JSP 调用的响应包含在他的页面中,

有什么想法吗?

最好的问候,

尼尔斯

is there a way to include a jsp page (what it returns) into a lotus web page ?

What I'd need is the equivalent of a

<jsp:include url="....">

but to use on the lotus side (a "lotus tag" if that exists)

The tag would give an HTML String back and would be used by Lotus.

Please note that I don't know anything about Lotus, this interrogation is prior to developing a project, and I'm on the JSP side :)

We will need the Lotus side to call about 1 to 10 jsp files to build the pages, but we got a technical issue at this point. The first idea was to make an Ajax call by Lotus for each of the jsp parts, but since this should also work without JavaScript, this is not a good option.

From my "JSP developer perspective", I was telling the Lotus dev to "just include my jsp's where you need them" but it looks like this can't be done that easily, therefore this question. I thought/still hope that the Lotus dev could use an easy technique to include the response of my JSP's call inside of his page

Any idea ?

Best regards,

Nils

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

神也荒唐 2024-09-12 18:39:20

不幸的是,没有“莲花标签”。 Domino 旨在将 Lotus Notes 数据合并到网页中,但没有一种机制可以轻松地将其他来源的内容包含到其 HTTP 响应流中。

您可以在 Domino 中编写一个代理来检索 jsp 页面生成的 HTML 代码,将该内容保存到 Notes 文档中,然后使用该文档的数据在 Domino 中生成页面。如果内容不经常改变,你可以考虑使用缓存系统。

我想到的另一个想法是在 Domino 的输出中使用 IFrame,并将 jsp 页面包含在这些框架中。

There is no "lotus tag" unfortunately. Domino is designed to incorporate Lotus Notes data into web pages, but doesn't have a mechanism for easily including content from other sources into its HTTP response stream.

You could write an agent in Domino to retrieve the HTML code produced by the jsp pages, save that content into a Notes Document, and then use that document's data to produce a page in Domino. If the content doesn't change frequently, you could consider it like using a caching system.

The other idea that comes to mind is to use IFrames in the output from Domino, and include the jsp pages within those frames.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文