You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2015/01/07 17:23:34 UTC

[jira] [Resolved] (TOBAGO-1436) ResourceServlet should not render an error page (only the status)

     [ https://issues.apache.org/jira/browse/TOBAGO-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-1436.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.6
                   3.0.0
                   3.0.0-alpha-1

> ResourceServlet should not render an error page (only the status)
> -----------------------------------------------------------------
>
>                 Key: TOBAGO-1436
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1436
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>             Fix For: 3.0.0-alpha-1, 3.0.0, 2.0.6
>
>
> When using
> {code}
> respone.sendError(404, "Text")
> {code}
> eventually a full JSF will be rendered (when configured in the web.xml), but for resources the status code is enough, like:
> {code}
> respone.setStatus(404)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)