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-
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
2 matches
Mail list logo