O'Reilly logo

Spring MVC Beginner’s Guide by Amuthan G

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enhancing reusability through Apache Tiles

In the past, we developed a series of web pages (views), such as a page to show products, another page to add products, and so on, as part of our webstore application; though every view serves a different purpose, all of them share a common visual pattern, for example, each page has a header, content area, and so on. We have hardcoded and repeated those common elements in every JSP view page. This is not a good idea because in future, if we want to change the look and feel of any of these common elements, we will have to change every page in order to maintain a consistent look and feel across all the web pages.

To address this problem, modern web applications use template mechanisms; Apache Tiles is one ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required