通过ALUI Portal网关获取客户端IP地址

发布于 2024-07-15 02:02:08 字数 427 浏览 7 评论 0原文

目前使用 Oracle/BEA/Plumtree ALUI Portal 6.1,并尝试显示客户端的 IP 地址。 问题是,由于此内容正在通过网关传输,因此当我打电话时,门户服务器的地址就会出现,

<%= request.getRemoteAddr() %> (<%= request.getRemoteHost() %>)

我几乎正在执行与此链接,但无法正常工作。 不确定 IDK 中是否有某些内容,或者是否有配置设置需要更改。

Currently using Oracle/BEA/Plumtree ALUI Portal 6.1, and am trying to display a client's IP Address. Problem is that since this content is being gatewayed, the portal server's address is coming up when I call

<%= request.getRemoteAddr() %> (<%= request.getRemoteHost() %>)

I am pretty much doing the java equivalent of this link, and it's not working correctly. Uncertain if there is something somewhere in the IDK, or if there's a configuration setting that needs to change.

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

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

发布评论

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

评论(1

不弃不离 2024-07-22 02:02:08

事实证明,使用 PEI(Plumtree 事件接口)可以实现这一点。 这是一个由两部分组成的过程:

Turns out this is doable using PEIs (Plumtree Event Interfaces). This is a two part process:

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