« Return to Thread: Redirect in a FormHandler

Redirect in a FormHandler

by Roland Whitehead :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: Redirect in a FormHandler