users@grizzly.java.net

Re: can't figure out ClientIP (request.remoteAddr())

From: charlie hunt <charlie.hunt_at_sun.com>
Date: Tue, 04 Dec 2007 08:29:53 -0600

Alan,

You may not be a Grizzly expert, but you are quickly becoming one. ;-)

Thanks for jumping in and helping with questions.

charlie ...

Alan Williamson wrote:
> You need to tell Grizzly you want to read this information
>
> in your service method put in:
>
> req.action(ActionCode.ACTION_REQ_HOST_ADDR_ATTRIBUTE, null);
>
> [don't fool me for a Grizzly expert, this question i asked just last
> week and Jeanfrancois contribued the answer]
>
> :)
>
> Xasima Xirohata wrote:
>> Hello. How to figure out the Client IP (or client ip behind proxy)
>> using standalone grizzly (with no glassfish installed) .
>

-- 
Charlie Hunt
Java Performance Engineer
<http://java.sun.com/docs/performance/>