O'Reilly logo
  • shilong zhao thinks this is interesting:

So we can define a common URI template for these URLs, which might look like http://localhost:8080/webstore/products/{category}. Spring MVC can leverage this fact and make the template portion ({category}) of the URL a variable, which is called a path variable in the Spring MVC world.

From

Cover of Spring MVC Beginner's Guide - Second Edition

Note

why not use a parameter: webstore/products?category=xxx