开发者

how to use PageEvent in tapestry4 to sendRedirect to another page

public void pageValidate(P开发者_运维问答ageEvent event) {
        //how to use pageEvent to sendRedirect to google.com ?


For an external site, use:

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

To redirect to a page withing the application use:

throw new PageRedirectException("page");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜