1 Reply Latest reply on Feb 11, 2006 2:59 PM by jdragon

    Abnormalin HttpServletRequest

    Syaiful Effendi Newbie

      Hi,
      I develope in jboss-4.0.3 a servlet service code like this:
      public void service(HttpServletRequest request, HttpServletResponse response){
      System.out.println("local address is"+request.getLocalAddr());
      }

      it allways show ip server.. 101.11.11.1
      I think this method "getLocalAddr()" will show Ip client ..
      because of that tomcat give response for wrong client

      Thanks in advance for any help,

      freechild