title: Exception handling in JSF ajax requests
body: <p>How do I handle the exception and access the stack trace when an exception is thrown while processing a JSF ajax request? Right now, I only get the exception class name and message in a JavaScript alert when JSF project stage is set to Development. Even worse, there's no visual feedback whatsoever when JSF project stage is set to Production, and the server log doesn't show any information about the exception. </p>
  
  <p>If that's relevant, I'm using GlassFish in Netbeans.</p>