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.
Thanks,
Atti
-----Original Message-----
From: Sheldon Ross [mailto:[email protected]]
Sent: Dienstag, 31. Juli 2012 01:58
To: [email protected]
Subject: RE: Servlet redirect
Something like this work for ya?
$data.setRedirectURI($redirectAddress)$data.setStatusCode(302)
At the top of a template with whatever if statements you want qualifying it?
Ross
> Date: Sun, 29 Jul 2012 21:32:43 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: Servlet redirect
>
> On 23.07.12 20:10, Szűcs Attila wrote:
> > How can I redirect from the servlet so that the redirected page is
> > displayed?
>
> I'm not quite sure I understand what you want to achieve, but there is
> always the possibility to return a "Location" header which can
> redirect to any URL.
>
> Would that help?
>
> Bye, Thomas.
>
>
> ---------------------------------------------------------------------
> 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]