I am also trying to forward my Action to an external report URL after process the form. I tried to use redirect and it always prefix my URL with my application context.
I also tried to implement ServletResponseAware and use response.sendRedirect(). It does not seem to do anything. The default result "success" is used when I return null from my Action. Is there a way to redirect action to an external URL? -----Original Message----- From: Chris Pratt [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 12:44 PM To: Struts Users Mailing List Subject: Re: dynamic forwarding from Action class to any url > > Is it possible to dynamicaly forward to any page from Action class > > execute() Make your Action implement ServletResponseAware, then just use the response.sendRedirect() method to redirect to where you want to go. Then return null from your action to let Struts 2 know that you've handled things yourself. (*Chris*) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]