Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 ADF 中检索用户的 IP 地址和浏览器信息。我无法在 ADFContext 中找到它。
From ADFContext 有一个子类 ServletADFContext 应该可以让你访问你应该能够访问的 HTTPRequest
request.getHeader("用户代理")
IP 地址:request.getRemoteAddr()
浏览器:request.getHeader("user-agent")
希望这可以帮助