Your input elements are missing a
name attribute. Read-over this explanation of the
HTML <input> name attribute.
If you would like to
test your HTML form independently of the JSP code, try specifying an
action of
http://httpbin.org/post in your form.
httpbin is a test site and it will return back informaiton about your request (in JSON format). What would be interesting for your particular problem is what it returned in the JSON
form attribute.
For example - I added another
input element to your form.
If I enter
Hello HTML in to my new element and submit the form to
httpbin, I get this back:
In the
form attribute there is one key/value pair: the key is what I specified as the
name in my new
input element; and the value is what I entered in the my new field in the form. As you have already know, to get this value in JSP, you would use
request.getParameter("another-field-for-testing").
My suggestion: add the missing
name attributes to your
input elements, test with
httpbin until the form is working as expected, then try with your JSP code again.