Possible Duplicate:
Best way to pass objects between controller actions in grails
I have a def show in a controller which should send information as object to action show in other controller i tried
def show() {
Person personDomainInstance = getPersonById(params.personId)
redirect(controller: "NewPersonController", action: "show", personDomainInstance:personDomainInstance)
}
}
when i try this it displays The requested resource (/......./show) is not available. Am I following the right approach for redirect . Can i pass object in this way??Also one more question is how can I bind person Domain object to domain instance object of NewPersonDomain object.