srujanmiryala
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.getRemoteAd dr() 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
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.getRemoteAd
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for the help provided. It is working fine now.
Thank you very much