Source Code‎ > ‎WebContent‎ > ‎WEB-INF‎ > ‎

tiles.xml

<?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="BaseLayout" template="/jsp/BaseLayout.jsp">
        <put-attribute name="header" value="/jsp/Header.jsp"></put-attribute>
        <put-attribute name="body" value="/jsp/Body.jsp"></put-attribute>
        <put-attribute name="footer" value="/jsp/Footer.jsp"></put-attribute>
        <put-attribute name="title" value="ORS"></put-attribute>
    </definition>

    <definition name="User" extends="BaseLayout">
        <put-attribute name="title" value="ORS User"></put-attribute>
        <put-attribute name="body" value="/jsp/User.jsp"></put-attribute>
    </definition>

    <definition name="UserList" extends="BaseLayout">
        <put-attribute name="title" value="ORS User List"></put-attribute>
        <put-attribute name="body" value="/jsp/UserList.jsp"></put-attribute>
    </definition>

    <definition name="UserRegistration" extends="BaseLayout">
        <put-attribute name="title" value="ORS UserRegistration"></put-attribute>
        <put-attribute name="body" value="/jsp/UserRegistration.jsp"></put-attribute>
    </definition>
    <definition name="Role" extends="BaseLayout">
        <put-attribute name="title" value="ORS Role"></put-attribute>
        <put-attribute name="body" value="/jsp/Role.jsp"></put-attribute>
    </definition>

    <definition name="RoleList" extends="BaseLayout">
        <put-attribute name="title" value="ORS Role List"></put-attribute>
        <put-attribute name="body" value="/jsp/RoleList.jsp"></put-attribute>
    </definition>

    <definition name="Marksheet" extends="BaseLayout">
        <put-attribute name="title" value="ORS Marksheet"></put-attribute>
        <put-attribute name="body" value="/jsp/Marksheet.jsp"></put-attribute>
    </definition>

    <definition name="MarksheetList" extends="BaseLayout">
        <put-attribute name="title" value="ORS Marksheet List"></put-attribute>
        <put-attribute name="body" value="/jsp/MarksheetList.jsp"></put-attribute>
    </definition>

    <definition name="College" extends="BaseLayout">
        <put-attribute name="title" value="ORS College"></put-attribute>
        <put-attribute name="body" value="/jsp/College.jsp"></put-attribute>
    </definition>

    <definition name="CollegeList" extends="BaseLayout">
        <put-attribute name="title" value="ORS College List"></put-attribute>
        <put-attribute name="body" value="/jsp/CollegeList.jsp"></put-attribute>
    </definition>

    <definition name="Student" extends="BaseLayout">
        <put-attribute name="title" value="ORS Student"></put-attribute>
        <put-attribute name="body" value="/jsp/Student.jsp"></put-attribute>
    </definition>

    <definition name="StudentList" extends="BaseLayout">
        <put-attribute name="title" value="ORS Student List"></put-attribute>
        <put-attribute name="body" value="/jsp/StudentList.jsp"></put-attribute>
    </definition>

    <definition name="GetMarksheet" extends="BaseLayout">
        <put-attribute name="title" value="ORS Get Marksheet"></put-attribute>
        <put-attribute name="body" value="/jsp/GetMarksheet.jsp"></put-attribute>
    </definition>

    <definition name="Login" extends="BaseLayout">
        <put-attribute name="title" value="ORS Login"></put-attribute>
        <put-attribute name="body" value="/jsp/Login.jsp"></put-attribute>
    </definition>

    <definition name="Welcome" extends="BaseLayout">
        <put-attribute name="title" value="ORS Welcome"></put-attribute>
        <put-attribute name="body" value="/jsp/Welcome.jsp"></put-attribute>
    </definition>

    <definition name="ChangePassword" extends="BaseLayout">
        <put-attribute name="title" value="ORS Change Password"></put-attribute>
        <put-attribute name="body" value="/jsp/ChangePassword.jsp"></put-attribute>
    </definition>

    <definition name="ForgetPassword" extends="BaseLayout">
        <put-attribute name="title" value="ORS Forget Password"></put-attribute>
        <put-attribute name="body" value="/jsp/ForgetPassword.jsp"></put-attribute>
    </definition>

    <definition name="MyProfile" extends="BaseLayout">
        <put-attribute name="title" value="ORS MyProfile"></put-attribute>
        <put-attribute name="body" value="/jsp/MyProfile.jsp"></put-attribute>
    </definition>

    <!-- BT Mapping -->

    <definition name="BTBaseLayout" template="/BT/BTBaseLayout.jsp">
        <put-attribute name="header" value="/BT/BTHeader.jsp"></put-attribute>
        <put-attribute name="body" value="/jsp/Body.jsp"></put-attribute>
        <put-attribute name="footer" value="/BT/BTFooter.jsp"></put-attribute>
        <put-attribute name="title" value="ORS"></put-attribute>
    </definition>

    <definition name="bt.User" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTUser.jsp"></put-attribute>
    </definition>

    <definition name="bt.UserList" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTUserList.jsp"></put-attribute>
    </definition>

    <definition name="bt.Role" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTRole.jsp"></put-attribute>
    </definition>

    <definition name="bt.RoleList" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTRoleList.jsp"></put-attribute>
    </definition>

    <definition name="bt.Marksheet" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTMarksheet.jsp"></put-attribute>
    </definition>

    <definition name="bt.MarksheetList" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTMarksheetList.jsp"></put-attribute>
    </definition>

    <definition name="bt.College" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTCollege.jsp"></put-attribute>
    </definition>

    <definition name="bt.CollegeList" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTCollegeList.jsp"></put-attribute>
    </definition>

    <definition name="bt.Student" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTStudent.jsp"></put-attribute>
    </definition>

    <definition name="bt.StudentList" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTStudentList.jsp"></put-attribute>
    </definition>

    <definition name="bt.Welcome" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTWelcome.jsp"></put-attribute>
    </definition>

    <definition name="bt.GetMarksheet" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTGetMarksheet.jsp"></put-attribute>
    </definition>

    <definition name="bt.Login" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTLogin.jsp"></put-attribute>
    </definition>

    <definition name="bt.ChangePassword" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTChangePassword.jsp"></put-attribute>
    </definition>

    <definition name="bt.ForgetPassword" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTForgetPassword.jsp"></put-attribute>
    </definition>

    <definition name="bt.MyProfile" extends="BTBaseLayout">
        <put-attribute name="body" value="/BT/BTMyProfile.jsp"></put-attribute>
    </definition>

</tiles-definitions>      
Comments