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]
  

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

--
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] 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]
  

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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

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




Re: IP Address

2002-09-18 Thread kiuma

It's not a porno method :-D try getRemoteAddress()

For porno methods try in http://www.playboy.com LOL :-D :-D :-D


Cohan, Sean wrote:

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] 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]

 


___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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

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

.





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:
a String containing the IP address of the client that sent the request


robert

 -Original Message-
 From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 18, 2002 9:11 AM
 To: 'Emmanuel Boudrant '; 'Struts Users Mailing List '
 Subject: RE: IP Address


 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] 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]
 

 ___
 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
 Yahoo! Mail : http://fr.mail.yahoo.com

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

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



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




RE: IP Address

2002-09-18 Thread Emmanuel Boudrant


I put getRemoteXxx() because you can retrice IP or Hostname.

request.getRemoteAddr()   IP
request.getRemoteHost()   Hostname

BTW: Check the HttpServletRequest name in the perform(...) method parameters. 
getRemoteAddr() must
be invoked on your HttpServletRequest object passed 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 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]
   
 
 ___
 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
 Yahoo! Mail : http://fr.mail.yahoo.com
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
  

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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




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 or Hostname.

request.getRemoteAddr()   IP
request.getRemoteHost()   Hostname

BTW: Check the HttpServletRequest name in the perform(...) method parameters. 
getRemoteAddr() must
be invoked on your HttpServletRequest object passed 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 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]
   
 
 ___
 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
 Yahoo! Mail : http://fr.mail.yahoo.com
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
  

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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


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




Re: IP Address

2002-09-18 Thread kiuma

This is very samrt (the hacker's one ;-P )

Yan, Charlene wrote:

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 or Hostname.

request.getRemoteAddr()   IP
request.getRemoteHost()   Hostname

BTW: Check the HttpServletRequest name in the perform(...) method parameters. 
getRemoteAddr() must
be invoked on your HttpServletRequest object passed 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 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]

 

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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

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


___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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


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

.




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




Re: IP Address

2002-09-18 Thread Cliff Rowley

LOL!

On Wed, 2002-09-18 at 14:15, kiuma wrote:
 It's not a porno method :-D try getRemoteAddress()
 
 For porno methods try in http://www.playboy.com LOL :-D :-D :-D
 
 
 Cohan, Sean wrote:
 
 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] 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]
 
  
 
 
 ___
 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
 Yahoo! Mail : http://fr.mail.yahoo.com
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 .
 
 
-- 

Regards

---
 Cliff Rowley| [EMAIL PROTECTED]
 Software Engineer   |   www.doctype.co.uk
 +44 (0) 1206 514263 | www.cliffrowley.com
---


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




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 it.

TIA,

/\/\ark

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




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 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 it.

TIA,

/\/\ark

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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

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