Spring MVC
-
Enterprise Java
Difference between @RestController and @Controller Annotation in Spring MVC and REST
The @RestController annotation in Spring MVC is nothing but a combination of the @Controller and the @ResponseBody annotation. It was…
Read More » -
Enterprise Java
What does the InternalResourceViewResolver do in Spring MVC?
The InternalResourceViewResolver is an implementation of ViewResolver in Spring MVC framework which resolves logical view name e.g. "hello" to internal…
Read More » -
Enterprise Java
Handling Events in React
In post Rendering RESTful service with React we created simple UI which render employee list fetched from RESTful service. As…
Read More » -
Enterprise Java
Injecting authenticated user into Spring MVC @Controllers
Injecting injecting authenticated user into Spring MVC handler method can be done with @AuthenticationPrincipal annotation and AuthenticationPrincipalArgumentResolver that is an…
Read More » -
Enterprise Java
Thymeleaf 3 – Get Started Quickly with Thymeleaf 3 and Spring MVC
Thymeleaf 3 release arrived. The new version brings plenty of new features like HTML5 support as well as Text templates…
Read More » -
Enterprise Java
Spring MVC: Trgger manual validation of a form object
Sometimes it may be needed to use manual validation in Spring MVC @Controller. This is very simple with Spring’s org.springframework.validation.ValidationUtils…
Read More » -
Enterprise Java
Configure multiple View Resolvers in Spring
1. Introduction In Spring, the View Resolver is provided to resolve the view with the data available in the model,…
Read More » -
Enterprise Java
Spring MVC 4 Quickstart Maven Archetype Improved – More Java 8 Features
For all those developers interested in bootstrapping Spring 4 application quickly without Spring Boot, please check my Spring MVC 4…
Read More » -
Enterprise Java
Integrating JQGrid with Spring MVC and Gson
I was working on a single page application where i wanted to use the grid functionality in one part of…
Read More »