Master page in JSP files
===

I new in `JSP` environment  .  when I worked with `aspx` I created a project with `Master page`  , 
the `<body>` of the `Master page` was like this  :

    <body>
        <asp:ContentPlaceHolder ID="MainContent" runat="server">
        </asp:ContentPlaceHolder>
        
    </body>

and every `aspx` file except from the `Master` had in the beginning `MasterPageFile="~/Site.master"` for example 

    <%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
        CodeFile="Default.aspx.cs" Inherits="_Default" %>

and he wrote only in `MainContent` like this   :

    <asp:Content ID="BodyContent"  ContentPlaceHolderID="MainContent">
        code ...
    </asp:Content>

now I want to create same idea in `JSP`  . how can I define the `Master` and how i can define that the other `JSP` will be under the control of the `Master` ?
thanks in advance  .