Re: IP Address

2002-09-18 Thread Emmanuel Boudrant
try this: request.getRemoteXxx(); -emmanuel --- Cohan, Sean [EMAIL PROTECTED] a écrit : How do I get the referrer's IP address in my action class? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED

RE: IP Address

2002-09-18 Thread Cohan, Sean
Is that the correct method? I get a 'can;t resolve symbol' compiler error. Thanks. -Original Message- From: Emmanuel Boudrant To: Struts Users Mailing List Sent: 9/18/02 6:09 AM Subject: Re: IP Address try this: request.getRemoteXxx(); -emmanuel --- Cohan, Sean [EMAIL PROTECTED

Re: IP Address

2002-09-18 Thread kiuma
Mailing List Sent: 9/18/02 6:09 AM Subject: Re: IP Address try this: request.getRemoteXxx(); -emmanuel --- Cohan, Sean [EMAIL PROTECTED] a écrit : How do I get the referrer's IP address in my action class? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands

RE: IP Address

2002-09-18 Thread Robert Taylor
request.getRemoteAddr(); It's in the Servlet API under ServletRequest interface getRemoteAddr public java.lang.String getRemoteAddr()Returns the Internet Protocol (IP) address of the client that sent the request. For HTTP servlets, same as the value of the CGI variable REMOTE_ADDR. Returns

RE: IP Address

2002-09-18 Thread Emmanuel Boudrant
. -emmanuel --- Cohan, Sean [EMAIL PROTECTED] a écrit : Is that the correct method? I get a 'can;t resolve symbol' compiler error. Thanks. -Original Message- From: Emmanuel Boudrant To: Struts Users Mailing List Sent: 9/18/02 6:09 AM Subject: Re: IP Address try

RE: IP Address

2002-09-18 Thread Yan, Charlene
Here is the correct one: request.getHeader(referer); Charlene -Original Message- From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 9:33 AM To: Struts Users Mailing List Subject: RE: IP Address I put getRemoteXxx() because you can retrice IP

Re: IP Address

2002-09-18 Thread kiuma
in parameter. -emmanuel --- Cohan, Sean [EMAIL PROTECTED] a écrit : Is that the correct method? I get a 'can;t resolve symbol' compiler error. Thanks. -Original Message- From: Emmanuel Boudrant To: Struts Users Mailing List Sent: 9/18/02 6:09 AM Subject: Re: IP Address try

Re: IP Address

2002-09-18 Thread Cliff Rowley
Message- From: Emmanuel Boudrant To: Struts Users Mailing List Sent: 9/18/02 6:09 AM Subject: Re: IP Address try this: request.getRemoteXxx(); -emmanuel --- Cohan, Sean [EMAIL PROTECTED] a écrit : How do I get the referrer's IP address in my action class? Thanks

IP Address

2002-09-17 Thread Cohan, Sean
How do I get the referrer's IP address in my action class? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Getting client IP address from HTTP request

2002-04-19 Thread Struts Developer
I'm sure that there is a web site/manual/e-mail thread I'm not finding that explains how I go about getting the client workstation IP address from the incoming HTTP request. I need this in my Action class. If any one could share the location of this information I would greatly appreciate

RE: Getting client IP address from HTTP request

2002-04-19 Thread Galbreath, Mark
String ip = request.getRemoteAddr(); Mark -Original Message- From: Struts Developer [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 12:20 PM To: [EMAIL PROTECTED] Subject: Getting client IP address from HTTP request I'm sure that there is a web site/manual/e-mail thread I'm