I was asked this question in one of the interviews.
How does the form data in struts gets stored in database or in other words, the complete flow diagram from user request till the data gets stored in database.
1. Which version of Struts are you talking about??
2. The form data is not stored automatically into the database. It has to be entered into the database. It can be done anywhere anytime by the developer. If for example I didn't sleep for 3 days, then I might insert records into the database from JSP pages i.e. view layer...