Inject the remoteHost directly: <inject property="remoteHost" object="service-property:tapestry.globals.HttpServletRequest:remoteHost"/>
Also, browse a bit the hivedocs at http://jakarta.apache.org/tapestry/tapestry/hivedocs/index.html to find more details... [EMAIL PROTECTED] wrote: >Hi, > > I am trying to access the HttpServletRequest.getRemoteHost() method, I > realize > that: > > getRequestCycle().getRequestContext().getRequest().getRemoteHost() > > is deprecated, how do you inject HttpServletRequest on to your page? > > Thanks, > Amir > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
