Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-1436

ResourceServlet should not render an error page (only the status)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.6, 3.0.0-alpha-1, 3.0.0
    • Core
    • None

    Description

      When using

      respone.sendError(404, "Text")
      

      eventually a full JSF will be rendered (when configured in the web.xml), but for resources the status code is enough, like:

      respone.setStatus(404)
      

      Attachments

        Activity

          People

            lofwyr Udo Schnurpfeil
            lofwyr Udo Schnurpfeil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: