I am using struts2 (2.1.6) and want to redirect to Action2 from Action1.
struts.xml:
<action name="Action1" class="Action1">
<result name="success" type="redirectAction">Action2</result>
</action>
<action name="Action2" class="Action2">
<result name="success">/demo.jsp</result>
</action>
This works as expected: http://myserver:9064/demo/Action1 redirects to http://myserver:9064/demo/Action2 (tested on tomcat and websphere).
But when I put my app behind BigIP, redirectAction no longer behaves as expected.
http://mybigip/demo/Action1 is expected to redirect to http://mybigip/demo/Action2, instead it redirects to http://mybigip:9064/demo/Action2 (note that my app's port number gets appended) which gives a 404 error. I got same result for type="redirect" also.
Any pointer to solve this issue would be much appreciated.