Simple:
inject the HttpServletRequest into your page
<inject property="request" object="service:
tapestry.globals.HttpServletRequest"/>

then use it into your page code:
getRequest().getRemoteAddr().

For more info:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequest.html

Ciao,
kiuma

On 3/14/07, Daniel Anguita O. <[EMAIL PROTECTED]> wrote:

Hi all,

well, that's my problem.. i'm trying to get the client IP that is
connected to my tapestry app.
I have read a lot, but all the help i could find is about tap4.0, and
there are a lot of changes since that version.

So, anyone knows how to get the client remote addres, the IP? thanks!

-Daniel

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


Reply via email to