Details
Description
Throwing a RedirectException does not work on Safari. It works fine on IE6, IE7, FIrefox.
The error that Safari displays is:
Safari can't open the page.
Safari can't open the page "http://localhost/Test.external". The error was: "bad server response" (NSURLErrorDomain:-1011) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.
Sample to reproduce problem:
.java file:
public abstract class Test extends BasePage implements IExternalPage {
public void activateExternalPage(Object[] parameters, IRequestCycle cycle)
{ throw new RedirectException("http://www.yahoo.com"); }}
.page file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
<page-specification class="sample.Test">
</page-specification>
.html file:
The html file can be left blank