通过ALUI Portal网关获取客户端IP地址
目前使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明,使用 PEI(Plumtree 事件接口)可以实现这一点。 这是一个由两部分组成的过程:
Turns out this is doable using PEIs (Plumtree Event Interfaces). This is a two part process: