Category Archives Spring

Spring MVC resources One of the most frequent questions which I receive from my blog readers is how to use css and javascript files in application with Spring MVC. So it's a good opportunity to write an article about usage of resources in Spring MVC. As usually I will use java based configuration approach.

Table of content: Spring MVC: REST application with CNVR vol. 1 Spring MVC: REST application with CNVR vol. 2 Spring MVC: REST application with CNVR vol. 3 This is a final, third part of Spring MVC REST tutorial with CNVR. Here I will demonstrate how all that stuff works, which I have developed within first two parts. Here will be…

Table of content: Spring MVC: REST application with CNVR vol. 1 Spring MVC: REST application with CNVR vol. 2 Spring MVC: REST application with CNVR vol. 3 Not so long time ago I have read an article written by Paul Chapman about Content Negotiating View Resolver (CNVR). That post on a Spring Framework Blog inspired me to investigate this framework's…

spring-mvc-drop-down Drop-down lists are the one of the most frequent elements in web forms. In HTML you can create such control using appropriate tags: < form:select > - parent tag of drop-down list and < form:option > - child tag of < form:select > tag. Spring MVC tag library has its own solution for the drop-down lists. In this post I will write about < form:select >, < form:option >, and < form:options > tags.

Spring-mvc-validation It's hard to imagine a web-application which doesn't has some validation logic for an user data. Almost all user's data has some constraints, e.g. date of birth should consist of day, month, year etc. Spring MVC has its own solution for the data validation, and it's become available with the help of Validator interface.

Close