Throwing a RedirectException does not work?
You could, of course, also use TemplateManager.requestResource() to
write Javascript into the <head> directly.
/Janne
On 22 Jun 2009, at 20:48, Roland Whitehead wrote:
> We've done a some work on the FormMailer FormHandler and have
> wrapped it into a jar file and generally tidied it up. We've been
> asked to add a redirect on success (similar to the original
> FormMail.pl cgi). Has anyone done a redirect from within a
> FormHandler? We've tried to trick it by outputting some javascript
> to redirect the current browser window to a new relative URL but
> this doesn't work - the javascript isn't even rendered. Any
> suggestions?
>
>
> Roland
> --
> QURU Ltd, London