Changed error code handling to only set the http status code to the
desired number and not force a generated error page in tomcat.