On 31.07.12 08:37, Szűcs Attila wrote:
> RunData's setRedirectURI will not work, nor will the servlet redirect (or
> forward). I have tested both. They do not work because I have an ajax call
> and ajax response always goes back to the response initiator, which in my
> case is the jqGrid with which I construct my tables. So I will have to do a
> javascript redirect.
The "Location" header is normally honored even by Ajax calls. Simply
call data.getResponse().setHeader("Location", arbitraryLocalRedirectURL);
Bye, Thomas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]