Hi I am trying to use a redirect in portal env ..I am using liferay 5.2.3 and apache struts bridge. I see that the “redirect=true” works fine as standalone webapp but when fails to work in portal env..
Heres a snipped on struts-config
action path=”/portlet/students/dummy1″ type=”com.liferay.training.portlet.students.action.DummyAction1″ scope=”session” validate=”false”>
Since I have enabled redirect I understand that on page refresh only DummyAction2 should be called..But I notice that both the actions are called on pagerefresh..As a result whatever I am persisting in the database through DummyAction1 is getting duplicated on page fresh..Please help to solve this issue…
0 Comments.