It is good to throw the RedirectToUrlException!
@Override
public void onSubmit() {
RedirectToUrlException objRedirect;
objRedirect = new RedirectToUrlException("http://www.163.com/");
throw objRedirect;
}
Thanks for Vineetsemwal and Stephen's help!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-redirect-an-external-web-site-and-where-is-the-setRequestTarget-method-tp4656924p4656963.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]