Is it possible to do page forwarding in Grails? I searched but no luck. If possible, how do I pass parameters in the forwarding method? If not, how would I do it using redirection? I've found something like this for redirection so far:
Redirection is idiomatically done in a controller
in Grails. See the
redirect
method in the Grails User Guide
An example using parameters:
redirect(action:"show",id:4, params:[author:"Stephen King"])
You might also be able to accomplish a forward
equivalent through the URL Mapping mechanism, including adding one or more parameters.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With