Question: I do not have much experience with JSP/Servlets and I have searched for an answer regarding my problem but have not found an answer to my question.

Lets say I have a file on the back-end, called test.txt, and i want my servlet to stream the file contents to a jsp page dynamically. By dynamically i mean that if the file is being updated, text is being appended to the end of file, then i want the client looking at the resulting html/jsp file to see the changes live.

For example, the client would be able to see the changes in a textbox element in the html document.

Is this possible with JSP/Servlets or not? If so, how would i go about it?

Thanks for your time.

Already tried searching for related questions, searching for stream inquires 
and haven't found any answer that would answer my question.

Answer: 
Adding in `align-items:center` on the parent container will achieve what you are looking for. The reason why it isn't set by default is to give the user control of its placement. [CSS-Tricks](https://css-tricks.com/snippets/css/complete-guide-grid/) has a really in-depth breakdown of the different ways you can align items in a grid. 

```css
.dpNav{
width:50%;
display:grid;
align-items:center;
grid-template-columns: repeat(5, 1fr);
text-align:center;
background:gold;
}
```

```html
<div class='dpNav' id='dpNav'>
<div class='yearTitle' id='yearTitle'>2019</div>
<div class='btnYear' id='btnYear'>&#x267B;</div>
<div></div>
<div class='monthTitle' id='monthTitle'>JAN</div>
<div class='btnMonth' id='btnMonth'>&#x267B;</div>
</div>
```
add `align-items:center;`

```css
.dpNav{
width:50%;
display:grid;
grid-template-columns: repeat(5, 1fr);
text-align:center;
background:gold;
align-items:center;
}
```

```html
<div class='dpNav' id='dpNav'>
<div class='yearTitle' id='yearTitle'>2019</div>
<div class='btnYear' id='btnYear'>&#x267B;</div>
<div></div>
<div class='monthTitle' id='monthTitle'>JAN</div>
<div class='btnMonth' id='btnMonth'>&#x267B;</div>
</div>
```