Better error handling in new filters, added autowire respect property to default list

WW-2193


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@670308 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald J. Brown
2008-06-22 04:00:43 +00:00
parent a4b404075c
commit b69f71aa2e
3 changed files with 10 additions and 2 deletions
@@ -49,7 +49,9 @@ public class StrutsPrepareAndExecuteFilter implements StrutsStatics, Filter {
cleanup = new CleanupOperations(dispatcher);
execute = new ExecuteOperations(filterConfig.getServletContext(), dispatcher);
} finally {
cleanup.cleanupInit();
if (cleanup != null) {
cleanup.cleanupInit();
}
}
}
@@ -44,7 +44,9 @@ public class StrutsPrepareFilter implements StrutsStatics, Filter {
prepare = new PrepareOperations(filterConfig.getServletContext(), dispatcher);
cleanup = new CleanupOperations(dispatcher);
} finally {
cleanup.cleanupInit();
if (cleanup != null) {
cleanup.cleanupInit();
}
}
}
@@ -48,6 +48,10 @@ struts.objectFactory.spring.autoWire = name
### valid values are: true, false (true is the default)
struts.objectFactory.spring.useClassCache = true
### ensures the autowire strategy is always respected.
### valid values are: true, false (false is the default)
struts.objectFactory.spring.autoWire.alwaysRespect = false
### if specified, the default object type determiner can be overridden here
### Note: short-hand notation is supported in some cases, such as "tiger" or "notiger"
### Alternatively, you can provide a com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation name here