Please Help me as it is giving me ArrayIndexOutOfBoundsException error
Many Thanks!!!
Also let me know if i'm using JSPs to store the data in a database or should i use HTML to display form and JSP just to display a response.
Using JSP to display the form is fine. What is not fine is putting the Java code in your JSP. That's a poor practice that has been discredited for more than 10 years. 10 years! Don't you think it's time to catch up?
The Java code to access the DB should be in a Java class, not a JSP.