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.nanayakk...@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-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org