I am extremely new to the JSP language, I wanted to know how to use a jsp file that I created and exported for example in the browser, the same way I do with html files, ie how to use a jsp file created ??? obs : In the attached image is the result when I open the .jsp file with the browser (which is not the output I want).
<%! int i %>
<html>
<head>
<title> Pagina JSP Ola Mundo</title>
</head>
<body>
<% for(i = 0; i = 3; i++){ %>
<div>
<%out.println("numero:"+i);%>
</div>
<%
}
%>
</body>
</hmtl>