Link to home
Start Free TrialLog in
Avatar of srujanmiryala
srujanmiryalaFlag for India

asked on

Flex and Struts ip tracking problem

Hi,
      My flex application is running on  http://www.mydomain.com. When we hit this URL the proxy will internally redirect to my flex application and will open myPage.html. I am using http service calls in my flex app. I will be calling java application with URL's http://subdomain.mydomain.com/xxx.action where the proxy internally redirects the http://subdomain.mydomain.com to our java application which is developed in struts 2.0.

Now my problem is when i try to track the ip address of the user with code servletRequest.getRemoteAddr() the ip addres i am getting is 127.0.0.1 instead of user ip addres. But i need the user ip address. Can any one help me out how to solve this
ASKER CERTIFIED SOLUTION
Avatar of Gabriel Orozco
Gabriel Orozco
Flag of Mexico image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of srujanmiryala

ASKER

Hello Redimido,

Thank you for the help provided. It is working fine now.

Thank you very much