You may configure any virtual server with an error code mapping property, with the following name and syntax:
send-error_1="path=<resource_1> reason=<reason-string_1> code=<error-code_1>"
send-error_2="path=<resource_2> reason=<reason-string_2> code=<error-code_2>"
where <resource> may be an absolute or relative path name. If relative, it is interpreted as relative to the directory in which the domain was started,i.e., as relative to [...]/domains/domain1/config.
The send-error_<x> properties of a virtual server apply to the virtual server's root context, as well as to any webapp deployed on the virtual server. A webapp may override the error code mappings of its virtual server with its own mappings, which are specified in its web.xml.
Jan
[Message sent by forum member 'jluehe' (jluehe)]
http://forums.java.net/jive/thread.jspa?messageID=272866