A simple error servlet for PAGE-NOT-FOUND messages.
This allows the ServletEngine to display custom
error messages with a 404 error-code.
NOTE: Tomcat 4+ encodes the error message, which prevents
the servlet from embedding HTML in the error response. For
example, all '<' characters are converted into "<"
strings. Servlets that need to generate an HTML response should
use (the discouraged) "setStatus(..)" instead of "sendError(..)"
response method. See bug 1259 for details.
|