struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto Gallardo <>
Subject struts2-portlet2-plugin- in Liferay 6.0.5 - Post-Redirect-Get aka Redirect after post
Date Sun, 10 Oct 2010 21:41:58 GMT
I have tried the Struts 2 Portlet Tutorial
with the struts2-portlet2-plugin- plugin
(, but
couldn't get the Post-Redirect-Get (PRG) working. The <result
type="redirectAction"> does not translate into a browser redirection.
(The portal builds though the appropriate target view).

Did anyone test the PRG with this plugin in Liferay 6 successfully?

Steps to reproduce:

   Select portlet view mode
   Fill-in name and url: name="myname"; url="myurl"
   Click "Add" button
      The server executes AddBookmarkAction.execute(), with
name="myname"; url="myurl"
      The server displays the same form (empty) again
   Press "F5"
      The server executes AddBookmarkAction.execute(), with
name="myname"; url="myurl"!!

   App Server: Glassfish v.2.1.1
   Portal version: Liferay 6.0.5
   Struts Portlet Plugin version: struts2-portlet2-plugin-
   Portlet class: org.apache.struts2.portlet.dispatcher.Jsr286Dispatcher

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

View raw message