In MyHTTPServlet.service() (extends HttpServlet.service()), I catch an
exception and try to send back an error, like this:
catch(final MissingResourceException missingResourceException)
{
response.sendError(404); //send back a 500 Internal Server Error
}
This code gets called, and I've logged that Java makes it to the
response.sendError() but not past it. Firefox WebDeveloper 0.9.3 tells
me I'm getting back a 200 OK rather than a 404.
Is there a Tomcat problem, or am I missing something really obvious?
Cheers,
Garret
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]