Created
August 9, 2015 06:22
-
-
Save dodangquan/95d0b0caebbc9b1f8b5c to your computer and use it in GitHub Desktop.
Java-Blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE tiles-definitions PUBLIC | |
"-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN" | |
"http://tiles.apache.org/dtds/tiles-config_2_0.dtd"> | |
<tiles-definitions> | |
<definition name="common" template="/WEB-INF/layout/classic.jsp"> | |
<put-attribute name="header" value="/WEB-INF/pages/common/header.jsp" /> | |
<put-attribute name="content" value="" /> | |
<put-attribute name="footer" value="/WEB-INF/pages/common/footer.jsp" /> | |
</definition> | |
<definition name="index" extends="common"> | |
<put-attribute name="title" value="Java Blog" /> | |
<put-attribute name="content" value="/WEB-INF/pages/index.jsp" /> | |
<put-attribute name="current" value="index" /> | |
</definition> | |
<definition name="users" extends="common"> | |
<put-attribute name="title" value="Users Page" /> | |
<put-attribute name="content" value="/WEB-INF/pages/users.jsp" /> | |
<put-attribute name="current" value="users" /> | |
</definition> | |
<definition name="user-detail" extends="common"> | |
<put-attribute name="title" value="User Detail Page" /> | |
<put-attribute name="content" value="/WEB-INF/pages/user-detail.jsp" /> | |
<put-attribute name="current" value="users" /> | |
</definition> | |
<definition name="account" extends="common"> | |
<put-attribute name="title" value="User Account Page" /> | |
<put-attribute name="content" value="/WEB-INF/pages/user-account.jsp" /> | |
<put-attribute name="current" value="account" /> | |
</definition> | |
<definition name="user-register" extends="common"> | |
<put-attribute name="title" value="User Registration Page" /> | |
<put-attribute name="content" value="/WEB-INF/pages/user-register.jsp" /> | |
<put-attribute name="current" value="register" /> | |
</definition> | |
<definition name="login" extends="common"> | |
<put-attribute name="title" value="Login Page" /> | |
<put-attribute name="content" value="/WEB-INF/pages/login.jsp" /> | |
<put-attribute name="current" value="login" /> | |
</definition> | |
<definition name="contact" extends="common"> | |
<put-attribute name="title" value="Contact Page" /> | |
<put-attribute name="content" value="/WEB-INF/pages/contact.jsp" /> | |
<put-attribute name="current" value="contact" /> | |
</definition> | |
</tiles-definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment