* Set HTTP status code to 500 by default when error action is invoked.

This commit is contained in:
hns 2007-12-11 10:03:48 +00:00
parent 891d0f74e1
commit 911e8c3fbc

View file

@ -220,6 +220,7 @@ public final class RequestEvaluator implements Runnable {
if (error != null) {
// there was an error in the previous loop, call error handler
currentElement = root;
res.setStatus(500);
// do not reset the requestPath so error handler can use the original one
// get error handler action