Summary

In this chapter, we understood the concept of the interceptor and learned how to configure the interceptor in Spring MVC. We learned how to do performance logging using the interceptor. We also learned how to use Spring's LocaleChangeInterceptor to support internationalization. Later, we learned how to do audit logging using the interceptor. Finally, we learned how to do conditional redirecting using the interceptor.

In the next chapter, I will introduce you to validation. You will learn how to do form validation and other types of custom validations.

Get Spring MVC Beginner’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.