According to the web site: https://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html
public void onSubmit() { // Make sure no output for the current cycle is ever sent. getRequestCycle().setRequestTarget(new RedirectRequestTarget("http://www.163.com")); } I can't find the method setRequestTarget under getRequestCycle(). What's the matter? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-redirect-an-external-web-site-and-where-is-setRequestTarget-method-tp4656924.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org