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
I prefer to use:
createLink(action: "index", controller:"user", absolute: true) // http://localhost:8080/project/user
when I need to get an absolute url!
It's interesting to get relative path too:
createLink(action: "index", controller:"user") // /project/user