You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by James Carman <ja...@carmanconsulting.com> on 2006/01/26 20:48:16 UTC

RE: What is Tapestry's equivalent of getRemoteAddr() ?

You can actually access the HttpServletRequest object via HiveMind.  Are you
using Tapestry 4?  Then, you inject the service
"tapestry.globals.HttpServletRequest" into your page/component.

-----Original Message-----
From: Adam Zimowski [mailto:zimowski74@gmail.com] 
Sent: Sunday, February 26, 2006 12:10 PM
To: Tapestry users
Subject: What is Tapestry's equivalent of getRemoteAddr() ?

Mornin'

I need to obtain IP address from the requester of the page.  With
Servlet API I'd use HttpServletRequest getRemoteAddr().

I checked WebRequest interface in Tapestry and do not see the
equivalent. Anyone knows how to get this information?

Thank You

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org