JSP page : browser only displays the source code
<p>A new JSP project was created ,after the start of the tomcat, the browser only displays the source code, how can I deal with this situation?</p>

<p><a href="https://i.stack.imgur.com/gyd1W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gyd1W.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/zABdI.png" rel="nofollow noreferrer">enter image description here</a></p>

<p>I just want to create a java web project. It's my project structure:</p>