I have a form having some user inputs. When the form is submitted I an trying to get the user input values using getAttribute() method of request and they are always coming as nulls. When I tried using the getParameterValues method and get the first object of the resulting array I am getting the values.