Hello, I have a server-relative URL like /target/index (starting with a slash) and I'm looking for a way to redirect to http://mydomain.com*/target/index*.
In Wicket (unfortunately still 1.4) I tried the following: RequestCycle.get().setRequestTarget( new RedirectRequestTarget("/target/index") ); Unfortunately Wicket thinks that the root slash refers to the Wicket application rather than the server's root. Therefore the redirect ends up here: http://mydomain.com/*wicketapp*/target/index * * I don't want Wicket to change my URL, so the Servlet should redirect to http://mydomain.com/target/index. Any ideas how to achieve that?