373269 Make ServletHandler.notFound() method impl do nothing - override to send back 404.

This commit is contained in:
Jan Bartel 2012-04-11 19:53:55 +10:00
parent a1fd229cc6
commit 942c8a19f5
1 changed files with 1 additions and 1 deletions

View File

@ -1233,7 +1233,7 @@ public class ServletHandler extends ScopedHandler
{
if(LOG.isDebugEnabled())
LOG.debug("Not Found "+request.getRequestURI());
response.sendError(HttpServletResponse.SC_NOT_FOUND);
//Override to send an error back, eg with: response.sendError(HttpServletResponse.SC_NOT_FOUND);
}
/* ------------------------------------------------------------ */