I am using struts2.0 and the application is deployed and tested over tomcat 6.0.
按照要求,我的申请(myApplication)必须从带域名的PHP网站转播:http://abc.com。
When this PHP site redirects the request to my application it calls an action Action1 of my application, which further redirects to another action Action2. But while redirection it changes the domain name to Application s server IP (http://applicationServerIP:8080/myApplication/Action2 ). My expected result is ( http://abc.com/myApplication/Action2).
www.un.org/Depts/DGACM/index_spanish.htm 涡轮机中的行动配置是:
<action name="Action1" class="Action1">
<result name="success" type="redirectAction">Action2</result>
</action>
<action name="Action2" class="Action2">
<result name="success">/myJSP.jsp</result>
</action>
www.un.org/Depts/DGACM/index_spanish.htm 任何帮助解决这一问题的措施都将受到赞赏。