I am new in grails i am using commmand object for login validation. it work fine in development environment but not work in production environment
def login={LoginCommand loginCommand->
if(!loginCommand.hasErrors()){
........
}
else{
.............
}
render(view:"/student/login",model:[loginCommand:loginCommand])
}