[jira] Created: (JETTY-1452) Customization of the errors that are returned by the container

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (JETTY-1452) Customization of the errors that are returned by the container

JIRA jira@codehaus.org
Customization of the errors that are returned by the container
--------------------------------------------------------------

                 Key: JETTY-1452
                 URL: https://jira.codehaus.org/browse/JETTY-1452
             Project: Jetty
          Issue Type: Improvement
          Components: HTTP
    Affects Versions: 6.1.26
            Reporter: Juan Ignacio
            Priority: Minor


I would like to customize errors thrown by the container.
For example. An error parsing an malformed uri, happens before jetty can assign the request to a context. Therefore, setting custom error pages on a context for these type of errors doesn't work.

Link to related issue
https://jira.codehaus.org/browse/JETTY-1447

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

[jira] (JETTY-1452) Customization of the errors that are returned by the container

JIRA jira@codehaus.org
Greg Wilkins resolved Improvement JETTY-1452 as Not A Bug

This can already be done by creating an instance of ErrorHandler and adding it to the Server with addBean. If response.sendError cannot find a context or the context does not have it's own error handler, then the servers error handler is used.

Change By: Greg Wilkins (17/Jan/13 3:27 PM)
Resolution: Not A Bug
Status: Open Resolved
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email