dreampolice
Technical User
I want to create a JSP Form page (first.jsp) on Tomcat 4.1.27 with a form that has about 20 input entries where the form will validate all 20 fields and show validation errors on the same page as the original form page (first.jsp). For example, if someone has a blank entry on the Firstname field then it will show this message in red next to the field: First Name is required.
If the data passes the validations it will populate an Oracle database.
I was thinking of submitting the fields to a Controller servlet then use the Enumeration class to get all field values where I would check for blanks and valid email address. I assume I would not use a bean and have a getter and setter method for all 20 fields?
I dont have Struts and need to know the best way to do this.
Can anyone give me an example or ideas on this?
If the data passes the validations it will populate an Oracle database.
I was thinking of submitting the fields to a Controller servlet then use the Enumeration class to get all field values where I would check for blanks and valid email address. I assume I would not use a bean and have a getter and setter method for all 20 fields?
I dont have Struts and need to know the best way to do this.
Can anyone give me an example or ideas on this?