Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Shing Wai Chan
Reporter: janbartel
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

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

Created: 18/Oct/12 04:57 AM   Updated: 09/Jan/13 08:32 PM   Resolved: 09/Jan/13 08:32 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Participants: janbartel and Shing Wai Chan

 Description  « Hide


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:

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


Shing Wai Chan added a comment - 09/Jan/13 05:30 AM

We need to update the following:

  • web-common schema
  • section 14.4 No. 15, p.157 in Spec
  • section 10.9.2, p.108 in Spec

Shing Wai Chan added a comment - 09/Jan/13 08:06 PM

The spec is updated as follows:
Transmitting file data ...
Committed revision 64.

Concerning the schema, I have confirmed that it has been updated correctly in Servlet 3.0. We only need to add additional comments there.

Shing Wai Chan added a comment - 09/Jan/13 08:32 PM

fix schemas:
Sending src/main/resources/glassfish/lib/schemas/web-common_3_1.xsd
Transmitting file data .
Committed revision 58247.

Sending javaee7/src/web-common_3_1.xsds
Transmitting file data .
Committed revision 58248.