You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by spm <ma...@tapestryforums.com> on 2006/02/07 22:14:55 UTC
Access Servlet API
We have a need to retrieve the getRemoteUser (set on the request by the web server).
I could do something like, butis deprecated, would rather know the proper way
return this.getRequestCycle().getRequestContext().getRequest().getRemoteUser();
For that matter, how does one access the Servlet API now?
newbie yes
-------------------- m2f --------------------
Sent from www.TapestryForums.com
Read this topic online here: <<topic_link>>
http://www.tapestryforums.com/viewtopic.php?p=14236#14236
-------------------- m2f --------------------
Re: Access Servlet API
Posted by Raul Raja Martinez <do...@estudiowebs.com>.
@InjectObject("service:tapestry.globals.HttpServletRequest")
public abstract HttpServletRequest getHttpServletRequest();
Raul.
spm wrote:
> We have a need to retrieve the getRemoteUser (set on the request by the web server).
>
> I could do something like, butis deprecated, would rather know the proper way
>
> return this.getRequestCycle().getRequestContext().getRequest().getRemoteUser();
>
>
> For that matter, how does one access the Servlet API now?
>
> newbie yes
>
>
> -------------------- m2f --------------------
>
> Sent from www.TapestryForums.com
>
> Read this topic online here: <<topic_link>>
>
> http://www.tapestryforums.com/viewtopic.php?p=14236#14236
>
> -------------------- m2f --------------------
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org