can we use error code and,exception-type elements in single error-page element?
Jose Esteban
Ranch Hand
Joined: Nov 28, 2004
Posts: 102
posted
0
Nope.
Colin Fletcher
Ranch Hand
Joined: Sep 10, 2004
Posts: 200
posted
0
From the spec (page 291)
<!-- The error-page element contains a mapping between an error code or exception type to the path of a resource in the web application --> <!ELEMENT error-page ((error-code | exception-type), location)> <!-- The error-code contains an HTTP error code, ex: 404 --> <!ELEMENT error-code (#PCDATA)> <!-- The exception type contains a fully qualified class name of a Java exception type. --> <!ELEMENT exception-type (#PCDATA)> <!-- The location element contains the location of the resource in the web application --> <!ELEMENT location (#PCDATA)>
SCJP 1.4 SCWCD 1.4
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.