I am trying to insert data from a jsp form into a table when the user clicks the submit button. I am encountering this exception.
java.lang.NumberFormatException: For input string: "type"
Here is my code:
This is the code in the form jsp:
this is my code in the sign - up bean:
and this is my dbBean's insert method:
thank you very much. any help is greatly appreciated