{"id":1773,"date":"2012-09-25T10:00:00","date_gmt":"2012-09-25T10:00:00","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/2012\/10\/spring-mvc-3-template-and-apache-tiles.html"},"modified":"2012-10-22T06:44:38","modified_gmt":"2012-10-22T06:44:38","slug":"spring-mvc-3-template-and-apache-tiles","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html","title":{"rendered":"Spring MVC 3 Template and Apache Tiles"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left\">An efficient design consideration for any web application is the use of a template engine (or tool), and with Spring\u2019s \u201cpluggable\u201d nature, it is indeed much more easier to integrate template mechanisms such as Apache Tiles. <\/p>\n<p>In this simple post, I will give you a brief intro and basics of using Tiles as a Template engine for your Web Application!<\/p>\n<ol>\n<li>Get it Ready: Web Application Setup<\/li>\n<li>Setup Maven and Import the Spring-MVC libraires plus the Apache Tiles<\/li>\n<li>Configuration File<\/li>\n<li>Tiles<\/li>\n<li>Use it!<\/li>\n<\/ol>\n<p><strong>1st: Web Layout and Application Setup: <\/strong>Get your Web Application Framework ready. For this example, I used Spring 3 MVC with all the minimal components readily injected. Download it <a href=\"http:\/\/dl.dropbox.com\/u\/1737239\/MDCDB-WEB.zip\">here<\/a>. The project is eclipse ready, so you can just import and load it on your STS (Spring Tool Suite) workspace.         <\/p>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-NaK1I4KpAw8\/UGC3OTgKijI\/AAAAAAAACXc\/_BK4slTEv8g\/s1600\/simple_layout.png\"><img decoding=\"async\" border=\"0\" height=\"144\" src=\"http:\/\/2.bp.blogspot.com\/-NaK1I4KpAw8\/UGC3OTgKijI\/AAAAAAAACXc\/_BK4slTEv8g\/s320\/simple_layout.png\" width=\"320\" \/><\/a><\/div>\n<p><strong>2nd: Setup Maven and generate sources &#8211;<\/strong> STS already has a Maven Plugin support. Put a Maven nature first on the project by right clicking on &gt; project &gt; configure &gt; Convert to Maven project.         <\/p>\n<p><strong>3rd: POM Configuration <\/strong> \u2013 Load the Tiles on the pom.xml. \u2013 You need to include the following dependencies to add Apache Tiles libraries to the project.         <\/p>\n<pre class=\"brush:xml\">&lt;!-- For Tiles --&gt;\r\n&lt;dependency&gt;\r\n&lt;groupId&gt;org.apache.tiles&lt;\/groupId&gt;\r\n&lt;artifactId&gt;tiles-core&lt;\/artifactId&gt;\r\n&lt;version&gt;2.2.2&lt;\/version&gt;\r\n&lt;type&gt;jar&lt;\/type&gt;\r\n&lt;scope&gt;compile&lt;\/scope&gt;\r\n&lt;\/dependency&gt;\r\n&lt;dependency&gt;\r\n&lt;groupId&gt;org.apache.tiles&lt;\/groupId&gt;\r\n&lt;artifactId&gt;tiles-template&lt;\/artifactId&gt;\r\n&lt;version&gt;2.2.2&lt;\/version&gt;\r\n&lt;type&gt;jar&lt;\/type&gt;\r\n&lt;scope&gt;compile&lt;\/scope&gt;\r\n&lt;\/dependency&gt;\r\n&lt;dependency&gt;\r\n&lt;groupId&gt;org.apache.tiles&lt;\/groupId&gt;\r\n&lt;artifactId&gt;tiles-jsp&lt;\/artifactId&gt;\r\n&lt;version&gt;2.2.2&lt;\/version&gt;\r\n&lt;type&gt;jar&lt;\/type&gt;\r\n&lt;scope&gt;compile&lt;\/scope&gt;\r\n&lt;\/dependency&gt;\r\n&lt;dependency&gt;\r\n&lt;groupId&gt;org.apache.tiles&lt;\/groupId&gt;\r\n&lt;artifactId&gt;tiles-servlet&lt;\/artifactId&gt;\r\n&lt;version&gt;2.2.2&lt;\/version&gt;\r\n&lt;type&gt;jar&lt;\/type&gt;\r\n&lt;scope&gt;compile&lt;\/scope&gt;\r\n&lt;\/dependency&gt;<\/pre>\n<p><strong>4th: XML Configuration for Class loaded beans <\/strong>&#8211; Make sure to setup the tiles xml and call it either directly or from another xml bean configuration file.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-TfiFnfh1Ebo\/UGC3qnKfw6I\/AAAAAAAACXs\/6wjs9yEy8sY\/s1600\/tiles_config+(1).png\"><img decoding=\"async\" border=\"0\" height=\"160\" src=\"http:\/\/3.bp.blogspot.com\/-TfiFnfh1Ebo\/UGC3qnKfw6I\/AAAAAAAACXs\/6wjs9yEy8sY\/s320\/tiles_config+(1).png\" width=\"320\" \/><\/a><\/div>\n<p><strong>5th: Templates<\/strong> \u2013 Create the templates.         <\/p>\n<p><strong>tiles-definition: &#8211; <\/strong>Define the page using the template (mainTemplate.jsp)         <\/p>\n<p>mainTemplate.jsp \u2013 is the page layout \u2013 put the definition attributes.<\/p>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/3.bp.blogspot.com\/-JOFdCUBMidg\/UGC3zp1CydI\/AAAAAAAACX0\/FvmEV0eSaOA\/s1600\/template_1.png\"><img decoding=\"async\" border=\"0\" height=\"180\" src=\"http:\/\/3.bp.blogspot.com\/-JOFdCUBMidg\/UGC3zp1CydI\/AAAAAAAACX0\/FvmEV0eSaOA\/s320\/template_1.png\" width=\"320\" \/><\/a><\/div>\n<p>The registerUser is the page that will be called, the body-position attribute is replaced by a body we defined: jsp\/userregistration.jsp         <\/p>\n<p><strong>6th: Configure database. <\/strong>Go to data-access-config.xml in your META-INF folder.<\/p>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/4.bp.blogspot.com\/-UHehPzc5f34\/UGC36YUaCwI\/AAAAAAAACX8\/nwHGAVaXz-4\/s1600\/db_config.png\"><img decoding=\"async\" border=\"0\" height=\"136\" src=\"http:\/\/4.bp.blogspot.com\/-UHehPzc5f34\/UGC36YUaCwI\/AAAAAAAACX8\/nwHGAVaXz-4\/s320\/db_config.png\" width=\"320\" \/><\/a><\/div>\n<p>SQL Script:   <\/p>\n<pre class=\"brush:bash\">      \r\ndelimiter $$\r\n \r\nCREATE DATABASE `MDCDB` \/*!40100 DEFAULT CHARACTER SET latin1 *\/$$\r\ndelimiter $$\r\nCREATE TABLE `MDC_USERS` (\r\n`ID` int(11) unsigned zerofill NOT NULL AUTO_INCREMENT,\r\n`NAME` varchar(45) DEFAULT NULL,\r\nPRIMARY KEY (`ID`)\r\n) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1$$\r\n<\/pre>\n<p><strong>Run the Application!<\/strong><\/p>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/2.bp.blogspot.com\/-BK7isLUIGoI\/UGC4CdCdQFI\/AAAAAAAACYE\/Rj2xZ9N-iK4\/s1600\/content_body.png\"><img decoding=\"async\" border=\"0\" height=\"80\" src=\"http:\/\/2.bp.blogspot.com\/-BK7isLUIGoI\/UGC4CdCdQFI\/AAAAAAAACYE\/Rj2xZ9N-iK4\/s320\/content_body.png\" width=\"320\" \/><\/a><\/div>\n<p>With the quality and quantity of application development tools, using templates is not new. Creation of these are now strictly mandatory as it will really help the development team to create quality UI faster and better. It also allows developers and designers to work in parallel. Designers using a themeing API, let say JQuery and developers creating the backbone and logic of the application \u2013 using EJBs, makes the definition of \u201cease of development\u201d more apparent.         <\/p>\n<p>Download my sample and open it in your STS (Spring Tool Suite) <a href=\"http:\/\/dl.dropbox.com\/u\/1737239\/MDCDB-WEB.zip\">here.<\/a> Make sure you have the Hibernate and Maven Plugin installed.<\/p>\n<p><strong><i>Reference: <\/i><\/strong><a href=\"http:\/\/alvinjayreyes.com\/2012\/09\/24\/spring-mvc-3-with-template-using-apache-tiles\/\">Spring MVC 3 with Template using Apache Tiles<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/p\/jcg.html\">JCG partner<\/a> Alvin Reyes at the <a href=\"http:\/\/alvinjayreyes.com\/\">Alvin &#8220;Jay&#8221; Reyes Blog<\/a> blog.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>An efficient design consideration for any web application is the use of a template engine (or tool), and with Spring\u2019s \u201cpluggable\u201d nature, it is indeed much more easier to integrate template mechanisms such as Apache Tiles. In this simple post, I will give you a brief intro and basics of using Tiles as a Template &hellip;<\/p>\n","protected":false},"author":197,"featured_media":240,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[199,30,150],"class_list":["post-1773","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-apache-tiles","tag-spring","tag-spring-mvc"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Spring MVC 3 Template and Apache Tiles - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"An efficient design consideration for any web application is the use of a template engine (or tool), and with Spring\u2019s \u201cpluggable\u201d nature, it is indeed\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spring MVC 3 Template and Apache Tiles - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"An efficient design consideration for any web application is the use of a template engine (or tool), and with Spring\u2019s \u201cpluggable\u201d nature, it is indeed\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2012-09-25T10:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2012-10-22T06:44:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Alvin Reyes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alvin Reyes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html\"},\"author\":{\"name\":\"Alvin Reyes\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/ac48ce50b2e5027d82ecbe2fa9b455a9\"},\"headline\":\"Spring MVC 3 Template and Apache Tiles\",\"datePublished\":\"2012-09-25T10:00:00+00:00\",\"dateModified\":\"2012-10-22T06:44:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html\"},\"wordCount\":407,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"keywords\":[\"Apache Tiles\",\"Spring\",\"Spring MVC\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html\",\"name\":\"Spring MVC 3 Template and Apache Tiles - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"datePublished\":\"2012-09-25T10:00:00+00:00\",\"dateModified\":\"2012-10-22T06:44:38+00:00\",\"description\":\"An efficient design consideration for any web application is the use of a template engine (or tool), and with Spring\u2019s \u201cpluggable\u201d nature, it is indeed\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"spring-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2012\\\/09\\\/spring-mvc-3-template-and-apache-tiles.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Spring MVC 3 Template and Apache Tiles\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/ac48ce50b2e5027d82ecbe2fa9b455a9\",\"name\":\"Alvin Reyes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g\",\"caption\":\"Alvin Reyes\"},\"sameAs\":[\"http:\\\/\\\/alvinjayreyes.com\\\/\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/Alvin-Reyes\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Spring MVC 3 Template and Apache Tiles - Java Code Geeks","description":"An efficient design consideration for any web application is the use of a template engine (or tool), and with Spring\u2019s \u201cpluggable\u201d nature, it is indeed","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html","og_locale":"en_US","og_type":"article","og_title":"Spring MVC 3 Template and Apache Tiles - Java Code Geeks","og_description":"An efficient design consideration for any web application is the use of a template engine (or tool), and with Spring\u2019s \u201cpluggable\u201d nature, it is indeed","og_url":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2012-09-25T10:00:00+00:00","article_modified_time":"2012-10-22T06:44:38+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","type":"image\/jpeg"}],"author":"Alvin Reyes","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Alvin Reyes","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html"},"author":{"name":"Alvin Reyes","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/ac48ce50b2e5027d82ecbe2fa9b455a9"},"headline":"Spring MVC 3 Template and Apache Tiles","datePublished":"2012-09-25T10:00:00+00:00","dateModified":"2012-10-22T06:44:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html"},"wordCount":407,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","keywords":["Apache Tiles","Spring","Spring MVC"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html","url":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html","name":"Spring MVC 3 Template and Apache Tiles - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","datePublished":"2012-09-25T10:00:00+00:00","dateModified":"2012-10-22T06:44:38+00:00","description":"An efficient design consideration for any web application is the use of a template engine (or tool), and with Spring\u2019s \u201cpluggable\u201d nature, it is indeed","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","width":150,"height":150,"caption":"spring-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2012\/09\/spring-mvc-3-template-and-apache-tiles.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Spring MVC 3 Template and Apache Tiles"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/ac48ce50b2e5027d82ecbe2fa9b455a9","name":"Alvin Reyes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/47d55211c650ea320b9932d0c3e848869fbdd0926c68b17382064c1d3ab0d512?s=96&d=mm&r=g","caption":"Alvin Reyes"},"sameAs":["http:\/\/alvinjayreyes.com\/"],"url":"https:\/\/www.javacodegeeks.com\/author\/Alvin-Reyes"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/1773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/197"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=1773"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/1773\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/240"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=1773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=1773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=1773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}