You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Eric Chow <ec...@macaucabletv.com> on 2004/05/19 10:17:33 UTC
How to get HttpServletRequest from Portlet ??
Hello,
How can I get the HttpServletRequest from Portlet ??
Eric
==========================
If you know what you are doing,
it is not called RESEARCH!
==========================
Re: How to get HttpServletRequest from Portlet ??
Posted by Brian Demers <Br...@sybase.com>.
In the Pluto Impl the RenderRequest is a HttpServletRequest... so you could
hack up a cast
((HttpServletRequest)myRenderRequest).someMethod(...)
This may not work on other JSR168 portals but it should work in Pluto
portlets...
If anybody knows a better way... I would like to know!
-Brian
----- Original Message -----
From: "Eric Chow" <ec...@macaucabletv.com>
To: <pl...@jakarta.apache.org>
Sent: Wednesday, May 19, 2004 4:17 AM
Subject: How to get HttpServletRequest from Portlet ??
> Hello,
>
> How can I get the HttpServletRequest from Portlet ??
>
> Eric
>
> ==========================
> If you know what you are doing,
> it is not called RESEARCH!
> ==========================