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) and this is available in apache tomcat (I already activate it)
PROBLEM: When I try to filter my login page (http://.../users/login.action generated from freemarker template login.ftl), nothing happens with ssi macro '<!--#echo var="REMOTE_ADDR"-->' However, when I use a static html as login page, SSI works well. Someone, please, could give some tips or steps around this? Thanks in advanve, best regards. -- View this message in context: http://www.nabble.com/get-client-IP-address-in-action-using-tomcat-SSI-tp22601011p22601011.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org