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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14267900#comment-14267900 ] 

Hudson commented on TOBAGO-1436:
--------------------------------

FAILURE: Integrated in tobago-trunk #1306 (See [https://builds.apache.org/job/tobago-trunk/1306/])
Merged from tobago-3.0.x
TOBAGO-1436: ResourceServlet should not render an error page (only the status) [from revision 1650101] (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1650102)
* /myfaces/tobago/trunk
* /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java


> 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)