incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <>
Subject Re: Redirect in a FormHandler
Date Tue, 23 Jun 2009 20:51:47 GMT

Throwing a RedirectException does not work?

You could, of course, also use TemplateManager.requestResource() to  
write Javascript into the <head> directly.


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  
> 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

View raw message