Skip to content

wizardkyn/BootSiteMesh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BootSiteMesh

Spring Boot Web with external Tomcat
JSP with SiteMesh3

Environment

Spring Boot 1.4.0
Maven
JSTL & SiteMesh3
Logback
External Tomcat 8

How to

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>

About

spring boot jsp with SiteMesh3. Maven

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages