In Tap4, you can inject HttpServletRequest into a
service or page.
There is some note at the following.

http://lombok.demon.co.uk/tapestry4Demo/Inject.html

Shing



--- Chris Davies <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> How is it possible to get the IP address and port of
> a visitor to a
> Page?  I've been trying to figure this out for quite
> a while now (so I
> can insert useful information into log messages),
> but to no avail.
> 
> The closest (crummy) solution I've found is to use a
> deprecated
> function to access the HttpServletRequest and then
> retrieve the remote
> address/port from there.  Obviously this isn't a
> real solution at all
> though!  What's the -correct- way to do this in
> Tapestry 4.0?
> 
> 
> Cheers,
> 
> Chris
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Home page :
  http://uk.geocities.com/matmsh/index.html


        
        
                
___________________________________________________________ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

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

Reply via email to