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.
I just found
getRequestCycle().setResponsePage(MyOtherPage.class);
which is working at least in wicket 6. It works server-side and rewrites the URL too. Maybe it is a bit faster than using an exception.