**Index.html**
**
<!DOCTYPE html>
<html>
<head>
<title>Insert Data</title>
</head>
<body>
<!-- Give Servlet reference to the form as an instances
GET and POST services can be according to the problem statement-->
<form action="./InsertData" method="post">
<p>ID:</p>
<!-- Create an element with mandatory name attribute,
so that data can be transfer to the servlet using getParameter() -->
<input type="text" name="st_id"/>
<br/>
<p>Name:</p>
<!-- Create an element with mandatory name attribute,
so that data can be transfer to the servlet using getParameter() -->
<input type="text" name="st_name"/>
<br/>
<p>Surname:</p>
<input type="text" name="st_last"/>
<br/>
<p>Major:</p>
<!-- Create an element with mandatory name attribute,
so that data can be transfer to the servlet using getParameter() -->
<input type="text" name="st_major"/>
<br/>
<p>Year:</p>
<!-- Create an element with mandatory name attribute,
so that data can be transfer to the servlet using getParameter() -->
<input type="text" name="grad_year"/>
<br/><br/><br/>
<input type="submit"/>
</form>
</body>
</html>`enter code here`**