RE: Servlet redirect
Sheldon Ross <[email protected]> Mon, 30 Jul 2012 22:57:53 +0000
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <[email protected]> |
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] >