Forwarding and / or redirecting Grails with options

Can I forward pages to Grails? I searched, but no luck. If possible, how to pass parameters in the forwarding method? If not, how can I do this using redirection? I found something like this to redirect so far:

+4
source share
1 answer

Redirection is idiomatically performed in the controller in Grails. See redirect in the Grails User Guide

An example of using parameters:

 redirect(action:"show",id:4, params:[author:"Stephen King"]) 

You can also execute the forward equivalent through the URL Mapping mechanism, including adding one or more parameters.

+10
source

All Articles