My question is: Can I store data entered on jsp in a bean and use this bean to validate them and insert them to the database? I need then to get these data on the next jsp to display confirmation. What is the method?
Do I need to use any servets to help it? What classes should I import to my bean and to my jsps?
How do I call the bean in the jsp? And how do I make sure that the data is in th edatabase?
I am not confident with using this class which I think is
How else can I validate that the email, date or a card format are correct?
And why would I use "this" keyword in the bean?