struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils-Helge Garli Hegvik <>
Subject Re: struts2-portlet2-plugin- in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post
Date Thu, 14 Oct 2010 16:25:18 GMT
I believe it is up to the container how the event -> render transition
is implemented. I don't think there's any guarantee that it's actualy
a redirect. If you have several portlets on the page, you could check
that the transition is ok by clicking on a an action/link in a
different portlet, and see that only the render phase is executed in
your struts2 portlet.


On Thu, Oct 14, 2010 at 6:11 PM, Alberto Gallardo <> wrote:
> Hi,
>> Have you looked at the portlet sample app? It has a few portlet PRG
>> examples. Try deploying it in Liferay and see if it works as expected.
> I guess you mean the portlet sample in
> Yes, I tried it and tried to debug the portlet and struts2 code; but
> after a few hours I gave up: As I already mentioned, the PRG works
> using the
>   PortletActionContext.getActionResponse().sendRedirect()
> method call inside an Action.execute.
> In any case, thanks for your answer.
> Alberto
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message