HTTPRequest object returns null for getRemoteHost()

2004-06-21 Thread Surendra Kumar
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

Re: HTTPRequest object returns null for getRemoteHost()

2004-06-21 Thread Carsten Lex
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

Re: HTTPRequest object returns null for getRemoteHost()

2004-06-21 Thread Surendra Kumar
] 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