redirect

Purpose

To redirect flow from one action to the next using an HTTP redirect.

Examples

redirect(uri:"book/list")
redirect(url:"http://www.blogjava.net/BlueSUN")
redirect(action:"show")
redirect(controller:"book",action:"list")
redirect(action:"show",id:4, params:[author:"Stephen King"])

Description

Redirects the current action to another action, optionally passing parameters and/or errors.

Parameters