Hi Carsten
        I did that and it still returns null. Even if i haven't enabled, it
should return me the ip not null value.
        I am using "org.apache.ajp.tomcat4.Ajp13Connector" connector.
        Any clues ?

Thanks
Surendra

----- Original Message -----
From: "Carsten Lex" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, June 21, 2004 2:55 PM
Subject: Re: HTTPRequest object returns null for getRemoteHost()


>
> Hi,
>
> by default enableLookups is  enabled (==true)
> You can add the parameter enableLookups="true" to a Connector, then
> getRemoteHost() gives you the desired information
>
> Carsten
>
> Surendra Kumar wrote:
>
> >Hi Everyone
> >        I am using Tomcat 4.1.29 and the getRemoteHost() call from
HttpServletRequest is returning null.
> >        Do i need to need to configure anything for this api to work ?
> >
> >Thanks
> >Surendra
> >
> >
> >
>
> --
>
>
>
>
>
> Mit freundlichen Gr��en
>
> Dipl.Inform. Carsten Lex
> Gesch�ftsf�hrer
> DeepWeb GmbH
>
> ------------------------
> DeepWeb GmbH
> Universit�t, Geb�ude 30
> 66123 Saarbr�cken
>
> Tel.:  0681 - 302 6308
> Mobil: 0163 - 33 37 002
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to