struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: response.sendRedirect() with Struts2 within a portlet
Date Sun, 31 May 2009 16:35:19 GMT
Crishantha Nanayakkara wrote:
> 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)

Er, ServletResponseAware, although I'm not sure if that's the cleanest 
approach to take (I know essentially nothing about portlets).

Dave

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


Mime
View raw message