Skip to main content

[JIRA] Created: (SERVLET_SPEC-49) error-code and error-exception are optional in error-page element

  • From: "janbartel (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Created: (SERVLET_SPEC-49) error-code and error-exception are optional in error-page element
  • Date: Thu, 18 Oct 2012 04:59:12 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated

error-code and error-exception are optional in error-page element
-----------------------------------------------------------------

                 Key: SERVLET_SPEC-49
                 URL: http://java.net/jira/browse/SERVLET_SPEC-49
             Project: servlet-spec
          Issue Type: Bug
            Reporter: janbartel


See:

https://issues.apache.org/bugzilla/show_bug.cgi?id=52135
http://stackoverflow.com/questions/12854768/jetty-servlet-3-0-and-error-page

It appears the jsr315 spec group may have wanted to make a new feature of 
having error-pages without defining a code or exception name. Unfortunately 
there is no text about this in the 3.0 final specification. See section 
10.9.2 Error Pages. This is not mentioned.

Nor is there any comment in the web-common.xsd schema.

The only information on this feature can be found on a blog from someone from 
oracle:
https://blogs.oracle.com/arungupta/entry/totd_136_default_error_page

If this is indeed a new feature that was added in servlet 3.0, this must be 
documented in the specification.

Jan

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Created: (SERVLET_SPEC-49) error-code and error-exception are optional in error-page element

janbartel (JIRA) 10/18/2012
 
 
Close
loading
Please Confirm
Close