Spring MVC
-
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 » -
Enterprise Java
Resource versioning with Spring MVC
When serving static resources, it is common practice to append some kind of version information to the resource URL. This…
Read More » -
Enterprise Java
JAX-RS 2.x vs Spring MVC: Returning an XML representation of a list of objects
JSON is King as it goes to all kinds of REST* APIs, but still you may need to expose multiple…
Read More » -
Enterprise Java
Using rx-java Observable in a Spring MVC flow
Spring MVC has supported asynchronous request processing flow for sometime now and this support internally utilizes the Servlet 3 async…
Read More »