I have a controller that needs to return a 404 page and status code on certain conditions. I can\'t seem to find out how to do this in Grails. A coworker recommended this me
response.sendError and response.setStatus are the only two ways I know of. If you static import HttpServletResponse, then it's not that 'un-grails-like'.