Created a Servlet page called CalSumbit and a java class called RectangleAreaCalculation which these two pull the data from the submitForm and linking to each others.