<!DOCTYPE html>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<html lang="en">
<head>
    <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
    <title>Calculate fibonacci number</title>
</head>
<body>
<h1>Calculate fibonacci number</h1>
<%--@elvariable id="fibonacci" type="java"--%>
<form:form method="POST" action="calculateFib.html" modelAttribute="fibonacci">
    <form:label path="index">Which number: </form:label>
    <form:input path="index"/>
    <br>
    <input type="submit" value="Calculate">
</form:form>
</body>
</html>