Spring 3 MVC
Spring MVC Flash Attribute tutorial with example

Spring MVC 3.1 version has added a very useful feature Flash attribute which it lacked and is now solving a long time problem of POST/Redirect/GET pattern.In a normal Web based MVC application each form ...10 comments
Spring 3 MVC Interceptor tutorial with example

Spring MVC provides a powerful mechanism to intercept an http request. Similar to Servlet Filter concept, Spring MVC provides a way to define special classes called Interceptors that gets called before and after a ...14 comments
Solve:Errors/BindingResult argument declared without preceding model attribute
Sometimes Spring MVC will amaze you with totally unexpected exceptions. You have no idea why that is coming.For instance, recently I wrote a small piece of Spring MVC Controller code, one like below:@Controller public class ...2 comments
More in Spring 3 MVC
Hibernate
org.hibernate.AnnotationException: No identifier specified for entity
When you are writing a piece of code from scratch a lot of time you do silly mistakes and still wonder why its not working. Well same thing happened the other day when I added ...7 comments
Hibernate Inheritance: Table Per Concrete Class (Annotation & XML mapping)

Welcome to Hibernate Tutorial Series. In previous tutorials we saw how to implement Inheritance in Hibernate: One Table per Subclass.Today we will see how to implement Hibernate Inheritance: One Table per Concrete Class scheme.You may ...24 comments
Hibernate Inheritance: Table Per Subclass (Annotation & XML mapping)

Welcome to Hibernate Tutorial Series. In previous tutorials we saw how to implement Inheritance in Hibernate: One Table Per Hierarchy.Today we will see how to implement Hibernate Inheritance: One Table per Subclass scheme.You may want ...13 comments