title: How to change Glassfish's default error page?
body: <p>I'm writing Grails application, that sometimes responds with 422 http status code (on invalid AJAX calls). While deployed on Glassfish, container includes default error page after my view's rendered text.</p>
  
  <p>How to change this behaviour?</p>
  
  <p>Regards,
  Tarmo</p>