struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frans Thamura" <fr...@meruvian.org>
Subject Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 -Post-Redirect-Get aka Redirect after post
Date Fri, 15 Oct 2010 03:24:10 GMT
My experience make portlet the ioc inside s2 conflicted with spring inside liferay

Perm mem eror show

Any idea all?


/m/

-----Original Message-----
From: Alberto Gallardo <argrico@gmail.com>
Date: Thu, 14 Oct 2010 19:00:01 
To: Struts Users Mailing List<user@struts.apache.org>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
Subject: Re: struts2-portlet2-plugin-2.1.8.1 in Liferay 6.0.5 -
 Post-Redirect-Get aka Redirect after post

> Maybe this is related (although old): http://issues.liferay.com/browse/LEP-1487

Thanks a lot! This is exactly what I was looking for. Now it works
like a charm! :-)

By the way, my solution did not work. I was now facing the next
problem with the ActionResponse.redirect() in ActionSupport.execute():
an StateAwareResponseImpl.setRenderParameter() was being called before
the redirect(), and struts threw an IllegalStateException!

Using the suggested <action-url-redirect>true</action-url-redirect>
solves the problem.


Alberto

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

Mime
View raw message