Hi,

I use
RequestCycle.get().getClientInfo().getProperties().getRemoteAddress();
or
RequestCycle.get().getClientInfo().getProperties().getUserAgent();

for this.

hth
Bert

On Wed, Jan 21, 2009 at 11:35, Luca Provenzani <eufor...@gmail.com> wrote:
> Hi All!
>
> I'm in a webPage and i need to retrieve the RemoteUser and RemoteAddress
> from the httpServletRequest.
> I use this code:
> *
> **HttpServletRequest request =
> getWebRequestCycle().getWebRequest().getHttpServletRequest();*
> *
>            String remUser = request.getRemoteUser();
> **String remAddr = request.getRemoteAddr();
> *
>
> But the two strings are null. I'm sure that this values are not null because
> if i try to retrieve them with a simple jsp the result is what i expect to
> be.
>
> what is wrong? What can i do?
>
> Thank
>
> Luca
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to