WebApp

Integrate npm web app in Spring Boot with Gradle

Integrate npm web app in spring boot with gradle is basically a multi-module project as we have seen in our earlier tutorials here with maven build in spring boot and here with maven in Eclipse. But the example on integrate npm web app in spring boot with gradle uses gradle to build the project. Here […]

Spring @MatrixVariable in a map

This tutorial will show you how we use @MatrixVariable annotation in Spring Web MVC. This tutorial will show you how to obtain matrix variable in a map from the URL segment. The URI has the possibility of including name-value pairs within path segments. The general “URI path parameters” could be applied although the more unique […]

Spring optional @MatrixVariable with default value

This tutorial will show you how we use @MatrixVariable annotation in Spring Web MVC. This tutorial will show you how to set default value to matrix variable to make it optional in the URL segment. The URI has the possibility of including name-value pairs within path segments. The general “URI path parameters” could be applied […]

Spring @MatrixVariable at specific position in a URL

This tutorial will show you how we use @MatrixVariable annotation in Spring Web MVC. The URI has the possibility of including name-value pairs within path segments. The general “URI path parameters” could be applied although the more unique “Matrix URIs”, originating from an old post by Tim Berners-Lee, is also frequently used and fairly well […]

Spring @MatrixVariable

This tutorial will show you how we use @MatrixVariable annotation in Spring Web MVC. The URI has the possibility of including name-value pairs within path segments. The general “URI path parameters” could be applied although the more unique “Matrix URIs”, originating from an old post by Tim Berners-Lee, is also frequently used and fairly well […]

Spring Web MVC @PathVariable with Regular Expressions

This tutorial will show you how we use @PathVariable annotation with Regular Expressions in Spring Web MVC. Sometimes we need more precision in defining URI template variables. The @RequestMapping annotation supports the use of regular expressions in URI template variables. The syntax is {varName:regex} where the first part defines the variable name and the second […]

Scroll to top