Skip to Content
0
Former Member
Jan 08, 2016 at 10:14 AM

Capture end user desktop IP address in Webdynprojava 7.3

36 Views

Hi ,

We have a requirement to be capture end user Pc's IP address through webdynpro java application.

Used below code for capturing IP addres, It's working fine in Webdynpro Java 7.0.but not working in Webdynpro Java 7.3.

HttpServletRequest req=(HttpServletRequest)TaskBinder.getcurrentTask().getProtocolAdapter().getRequestObjectInternal().getProtocolRequest();

req.getHeader("X-Forwarded_For);

Thanks,

Srinivas

Attachments

TaskBinder.jpg (26.4 kB)