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"])
redirect(controller: "book", action: "show", fragment: "profile")

Description

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

Parameters