You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Marcus <mv...@gmail.com> on 2006/05/23 21:07:24 UTC

How to get HttpServletRequest.getRemoteAddr() in Tapestry

Hi!

How can i get HttpServletRequest.getRemoteAddr() ?
I use default Tapestry Application Servlet and don't want to change this.
The goal is to save a log of all external access (with IP Address).

Sorry about my english, Portuguese (Brazil) is my first language.

Thank's

Marcus

Re: How to get HttpServletRequest.getRemoteAddr() in Tapestry

Posted by Jesse Kuhnert <jk...@gmail.com>.
You can inject the HttpServletRequest into your
page/component/whatever..See:

http://jakarta.apache.org/tapestry/tapestry/hivedocs/module/tapestry.globals.html

On 5/23/06, Marcus <mv...@gmail.com> wrote:
>
> Hi!
>
> How can i get HttpServletRequest.getRemoteAddr() ?
> I use default Tapestry Application Servlet and don't want to change this.
> The goal is to save a log of all external access (with IP Address).
>
> Sorry about my english, Portuguese (Brazil) is my first language.
>
> Thank's
>
> Marcus
>
>


-- 
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.