I am using struts2.0 and the application is deployed and tested over
tomcat 6.0.
As per requirement, my application (
myApplication) has to redirect from a PHP site with domain name
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).
Action configuration in sturts.xml is:
Any Help to solve this issue will be appreciated.