-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error-code and error-exception are optional in error-page element #49
Comments
@glassfishrobot Commented |
@glassfishrobot Commented
|
@glassfishrobot Commented Concerning the schema, I have confirmed that it has been updated correctly in Servlet 3.0. We only need to add additional comments there. |
@glassfishrobot Commented Sending javaee7/src/web-common_3_1.xsds |
@glassfishrobot Commented |
@glassfishrobot Commented |
|
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
The text was updated successfully, but these errors were encountered: