The PortletRequest gives you everything you need i.e. parameters, attributes, dispatching, etc. As per the JSR 168 spec, you should not need the HttpServletRequest.
However, some portlet container implementations do provide some kind of hack to get hold of HttpServletRequest e.g. in Pluto you can cast the RenderRequest to HttpServletRequest. But, be aware that this behavior cannot be relied upon.
Cheers,
Saroj Kumar
Persistence pays, only if you are in the right direction.
Re: Servlet Params
The PortletRequest gives you everything you need i.e. parameters, attributes, dispatching, etc.
As per the JSR 168 spec, you should not need the HttpServletRequest.
However, some portlet container implementations do provide some kind of hack to get hold of HttpServletRequest e.g. in Pluto you can cast the RenderRequest to HttpServletRequest. But, be aware that this behavior cannot be relied upon.
Cheers,
Saroj Kumar
Persistence pays, only if you are in the right direction.