This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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...