better error messages on servlet