January 28, 2019

Spring MVC - How to handle errors from a controller?

In a web application, it is very important to handle errors. Proper error handling would protect the application from several vulnerabiliti...Read More
by Phee Jay

April 13, 2017

Localization with Spring

Localization enables applications to cater to users of different locations and languages. Spring, as usual, has support for this aspect as ...Read More
by Phee Jay

June 26, 2015

ETags and Browser Cache

Caching resources on the browser is crucial to minimize unnecessary trips to the server and reduce the load on it. This works well for d...Read More
by Phee Jay

October 18, 2010

What Is a SessionAttributeStore? When to Use It?

In one of my projects, I had an abstract controller class that simulated the form controller of Spring 1.2 for session forms. Annotatio...Read More
by Phee Jay

October 18, 2010

Spring MVC - mvc:annotation-driven - What does it do?

The annotations based MVC was introduced to the framework in Spring 2.5. This model enables the developer to reuse any POJO as a control...Read More
by Phee Jay