Code
Code of JSP Declaration Tag<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<%! int i = 38;%>
<%= "Value of the variable is:" + i%>
</body>
</html>