728x90 AdSpace

Sunday, 11 August 2013

Tiles - Introduction

In this tutorial we are going to see Apache Tile 2.This tutorials created by referring apache web site,
Tiles is used to create reusable presentation component.Often, it looks nothing more than “JSP include” but when we used with tiles framework it becomes a consistent look and feel throughout the application.
Consider the following page.
<head><title>Java Tutorials Corner Tiles Tutorial</title><head>
<div id="header">
Welcome to Java Tutorials Corner

<div id="body">
Java Tutorials Corner body content.

<div id=footer">
&#169; 2013, Java Tutorials Corner

In this html page cut up into three sections .
  1. header

  2. body

  3. footer
but this is single page layout.Tiles help us to create more page with same look and feel , first we defines basic layout with different sections and we can use this basic layout as template for more pages.

Ties reduce the code duplication and amount of configuration needed.This will accomplished by following steps
  1. Abstracting Tiles

  2. Reusing Tiles

  3. Implementing Template

  4. Removing Configuration

Annamalai Thangaraj

Annamalai is working as Technical Lead in Leading Telecom company with 5+ years experience in Identity and Access Management , Telecom and Networks, BigData, Java, Spring, Struts, Hibernate, AngularJS, and Enterprise Web Application Development.

Website: Java Tutorials Corner

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments


Post a Comment

Item Reviewed: Tiles - Introduction Rating: 5 Reviewed By: Annamalai Thangaraj