Time for action – implementing a master detail view

A master detail view is nothing but the display of very important information on a master page. Once we select an item in the master view, a detailed page of the selected item will be shown in the detail view page. Let's build a master detail view for our product listing page so that when we click on any product, we see the detailed view of that product.

We have already implemented the product listing page (http://localhost:8080/webshop/products) and product details page (http://localhost:8080/webstore/products/product?id=P1234), so the only thing needed is to connect these two views to make a master detail view. Perform the following steps:

  1. Open products.jsp; you can find products.jsp under

Get Spring MVC Beginner’s Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.