Getting the URL of the current page in Grails

前端 未结 5 1102
深忆病人
深忆病人 2020-12-14 17:23

In a Grails application I\'d like to send a user from page A, then to a form on page B and then back to page A again.

To keep track of which URL to return to I send

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-14 17:45

    When creating the link to page B you can use the createLink tag to set the returnPage parameter:

    
      Go to Page B
    
    

提交回复
热议问题