Thank You for answer Bert I'll try to retrieve remoteAddress in this way(tomorrow morning, ehm for Italy ;-), because now i'm working for an other project).
but... i need to retrieve the authenticated remoteUser, not the UserAgent, how can i do this? Luca 2009/1/21 Bert <taser...@gmail.com> > 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 > >