You can't forward a request to a different server. Forwarding is done within the scope of a single request, so the response has to be done from the same server that the request targeted. You will have to redirect, which will respond to the initial request and force the browser to make a second request of the new address.
Redirecting would create a new request. I want to keep the parameters from my original request in tact. So is the only solution to create a new form whose action is the redirect and to include each of the parameters I want to preserve as hidden fields on the new page?
You can redirect to a URL which has parameters. How you'd do that in Struts 1 I don't know, but then we aren't in the Struts forum. If this is actually a Struts question then just say so and a moderator will move it to the Struts forum.
Joined: Jul 02, 2008
This is, in fact, a Struts question -- I misposted to the wrong forum. Thanks in advance for moving it, - Dave
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Forwarding a request to a different domain