Spring Boot Web with external Tomcat
JSP with SiteMesh3
Spring Boot 1.4.0
Maven
JSTL & SiteMesh3
Logback
External Tomcat 8
Use two Decorator
Front-end : http://localhost:8080/BootSiteMesh/web/usermenu.do
Back-end : http://localhost:8080/BootSiteMesh/backend/admin.do
No decoration start with /login, /popup, /main URL
ex : http://localhost:8080/BootSiteMesh/main/index.do
Extracting multiple DIV tags and put into decorator
Decorator
<h1><sitemesh:write property='div.contentH1'/></h1>
<h2><sitemesh:write property='div.contentH2'/></h2>
From contents
<div id="contentH1">User Area Heading 1</div>
<div id="contentH2">User Area Heading 2</div>