I have some web applicationd design question to ask. My web application basically provide add, modify and delete customer information. My program flow is :
add customer information jsp page -- > Server side Java Validator to check the input parameter from the jsp form --> forward to the original customer information jsp page if any errors occurred --> forward to the confirmation page when no errors --> invoke the adaptor if the inputed information is ok --> return to the jsp page if any information need to be changed
so in term of java, it's : jsp --> validator --> adaptor to insert data to db, or I need a form bean to store the form data ?