开发者

how to use PageEvent in tapestry4 to sendRedirect to another page

开发者 https://www.devze.com 2022-12-09 14:49 出处:网络
public void pageValidate(P开发者_运维问答ageEvent event) { //how to use pageEvent to sendRedirect to google.com ?
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

精彩评论

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