I am having trouble getting a redirectAction to work. I am using struts2-portlet-plugin-2.1.1-SNAPSHOT, i have also tried using struts-2.0.11with no luck. Any advice? Here are my configs:
WEB-INF/index.jsp ---------------------------- <% String redirectURL = "view/index.action"; response.sendRedirect(redirectURL); %> struts.xml --------------- <struts> <include file="struts-portlet-default.xml" /> <package name="default" extends="struts-portlet-default" namespace="/view"> <action name="index" class=" com.health.management.vitals.action.IndexAction"> <result name="advisor" type="redirectAction"> <param name="actionName">advisorView</param> </result> <result name="consumer" type="redirectAction"> <param name="actionName">consumerView</param> </result> </action> <action name="advisorView" class=" com.health.management.vitals.action.AdvisorViewAction"> <result>/WEB-INF/view/advisor.jsp</result> </action> <action name="consumerView" class=" com.health.management.vitals.action.ConsumerViewAction"> <result>/WEB-INF/view/consumer.jsp</result> </action> </package> </struts>