Sorry I didn't get back to you sooner, but I was away on vacation.
Yes, indeed. There is a much simpler way. In fact, you don't even need to bother with SpringWebFlowExceptionResolver if you just want to display an error page. This functionality comes out-of-the-box with the Spring MVC framework.
Originally Posted by fadetoblack
Take a look at SimpleMappingExceptionResolver, which SpringWebFlowExceptionResolver extends.
Here's a short mention of it in the reference manual: http://static.springframework.org/sp...eptionhandlers
Here's the JavaDoc: http://www.springframework.org/docs/...nResolver.html
And here's an example to get you started:
Hope this helps,
<bean id="simpleMappingExceptionResolver" class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
<property name="defaultErrorView" value="error/generalError" />