I wonder if is is a way to include jsp file like: in page.jsp:

```
include: header.jsp

```

but with a logic of this file, I'm a front-end developer so in Angular i can create component that contains html template and js file with logic inside, and by using component name like 

```
<my-header></my-header>

```

i can #1 include html code, and #2 automatically invoke logic of this template,
I heard about 

```
<jsp:include>

```

but probably it can't do what I want.