On Mon, 06 Jan 2003 Rodney Schneider wrote:
> >
> > is there a way to perform a complete http redirect mid execution? 
> 
> Yes, this is the code we use:
> 
>   // next two don't actually work as advertised...
>   data.setStatusCode(302);
>   data.setRedirectURI(redirectURL);

this was discovered...

>   // ... so ...
>   data.getResponse().sendRedirect(redirectURL);

yep - that's exactly the solution i implemented.  =)  which also meant i had
no real need to chain actions as the full URL is used in the
sendRedirect(String) method.

>   ActionLoader.getInstance().exec(data, nextAction);

i'll keep that in mind though.

thanks for the response.

- brydon

--
brydon cheyney
senior analyst programmer
http://www.2fluid.co.uk

Reply via email to