struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils-Helge Garli Hegvik <nil...@gmail.com>
Subject Re: response.sendRedirect() with Struts2 within a portlet
Date Sun, 31 May 2009 19:29:17 GMT
You can use the PortletResponseAware to get the portlet response object.

Nnils-H

On Sun, May 31, 2009 at 10:20 AM, Crishantha Nanayakkara
<c.nanayakkara@gmail.com> wrote:
>
> Hi,
>
> I have a requirement to use a response.sendRedirect() within my Action
> class. Basically this action class is used to manipulate a porltet.
>
> Unlike Struts1, we do not directly have any processAction() method and
> ActionRequest and ActionResponse objects to do a response.sendRedirect.
>
> I just want to know how do we get about executing the response.sendRedirect
> with Struts2? What should be the interface to implement within the action
> class to do this. (Just like ServletRequestAware to get the
> HttpServletRequest)
>
> Appriciate your help on this.
>
> Best Regards
> Crishantha
> --
> View this message in context: http://www.nabble.com/response.sendRedirect%28%29-with-Struts2-within-a-portlet-tp23800916p23800916.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message