diff --git a/spring-framework-reference/src/mvc.xml b/spring-framework-reference/src/mvc.xml index ff88fba885a..0556e336d07 100644 --- a/spring-framework-reference/src/mvc.xml +++ b/spring-framework-reference/src/mvc.xml @@ -1660,7 +1660,10 @@ public class MyFormController { view) and does not continue executing the other interceptors and the actual handler in the execution chain. - The following example provides an interceptor that intercepts all + The following example defines a handler mapping which maps + all requests matching the URL patterns "/*.form" and "/*.view" to a particular + controller, editAccountFormController. + An interceptor has been added that intercepts these requests and reroutes the user to a specific page if the time is not between 9 a.m. and 6 p.m. @@ -1718,7 +1721,7 @@ public class TimeBasedAccessInterceptor extends HandlerInterceptorAdapter { } } - Any request coming in is intercepted by the + Any request handled by this mapping is intercepted by the TimeBasedAccessInterceptor. If the current time is outside office hours, the user is redirected to a static HTML file that says, for example, you can only access the website during office