...
If the name of a page, or a page class or page instance, is returned, then a render request URL will be constructed and sent to the client as a redirect to that page.
If a java.net.URL is returned then a redirect will be sent to the client. (In Tapestry 5.3.x and earlier, this only works for non-Ajax requests.)
In the case of an Ajax request to update a zone, the component event handler will return the new zone body, typically via an injected component or block.Starting in Tapestry 5.4, an Ajax event handler may alternatively return a java.net.URL, in which case a redirect for that URL will be sent to the client.
See Page Navigation for other return values.
...