More on Spring MVC

Our handler methods and Spring MVC implementations use only a small portion of the Spring MVC framework. There will be scenarios that the real-world applications encounter that have not been covered in this chapter. These include requirements such as the following:

  • URI template patterns to access portions of a URL through path variables. They are especially useful to simplify RESTful processing and allow the handler methods to access the variables in URL patterns. The company find method could then be mapped to a URL such as /company/find/5/, where 5 represents the idCompany value. This is achieved through the use of the @PathVariable annotations and mappings in the form of /company/find/{idCompany}.
  • Using the @SessionAttrribute ...

Get Enterprise Application Development with Ext JS and Spring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.