Re: get client IP address in action using tomcat SSI

2009-03-22 Thread Gabriel.G
I found a solution for this: With SSI enabled on tomcat, I added an iframe in my login template with SSI macro call included, and I used jscript code to copy macro result value to a login form hidden input. Regards. -- View this message in context: http://www.nabble.com/get-client-IP-address-

get client IP address in action using tomcat SSI

2009-03-19 Thread Gabriel.G
Hi all. I'm developing a web app using struts 2 + freemarker + tomcat 6. I WANT: I want to get client ip address during loggin process, not using request.getRemoteAddr (it's not accurate when exist proxies and other network devices) I know there is a better method using SSI (server side includes