I am using JBoss Server version 5.x with Apache tomcat 7. I am trying to get the client IP address using following code in my Jsp file :
request.getRemoteAddr();
But it is always returning me the server's IP.I am not using any load balancer.In my Jboss access logs , I can see the client IP Address.
Please help me to know where am I making mistake?
Aucun commentaire:
Enregistrer un commentaire