1 15 package org.apache.tapestry.workbench; 16 17 import org.apache.tapestry.IRequestCycle; 18 import org.apache.tapestry.RedirectException; 19 import org.apache.tapestry.html.BasePage; 20 21 26 27 public abstract class Redirect extends BasePage 28 { 29 public void redirectInternal() 30 { 31 throw new RedirectException("redirect-target.html"); 32 } 33 34 public void redirectExternal() 35 { 36 throw new RedirectException("http://jakarta.apache.org/tapestry"); 37 } 38 } | Popular Tags |