0
public void pageValidate(PageEvent event) {
        //how to use pageEvent to sendRedirect to google.com ?
4

1 回答 1

1

对于外部站点,请使用:

throw new RedirectException("http://google.com")

要使用应用程序重定向到页面,请使用:

throw new PageRedirectException("page");
于 2009-10-29T17:27:06.890 回答