Grails: Page won't redirect after completed Ajax call

后端 未结 2 1635
耶瑟儿~
耶瑟儿~ 2021-01-22 11:01

This is my ajax call:

2条回答
  •  广开言路
    2021-01-22 11:49

    Redirecting the ajax call only redirects that call, not the whole page. To get the whole page to redirect, you either need to capture the redirected ajax call in the JavaScript and do a redirect from the JavaScript, or you need to have the page-level action do the redirect.

提交回复
热议问题