How do I redirect to another page using Wicket? IIRC, some exception has to be thrown in the constructor, but I don\'t remember which one. Thanks in advance.
you can use
setResponsePage(new RedirectPage("/"));
or
setResponsePage(HomePage.class);
throw new RestartResponseException(HomePage.class);