This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have problem with data overwrite when concurrent request comes in. Below is the flow. JSP -> ActionForm -> Action Class -> Bean Class for Business/Data
When two request comes from 2 different browsers together, one for requesting Employee data for EMP Number 100 and other for Emp Number 200. so, on both the browser window data for Emp Number 200 is displyed. That means it displays the data for the last request always, overwriting old request.
1. In JSP, we are iterating through using <logic:iterate> and then <bean:write formProperty>. 2. Setter method of the Form is populated in the bean class using - PropertyUtils.setProperty(OutputForm, aColNames[i].toString(), RowContentString); 3. We are not using any instance variable in bean class for populating form property using setter method.
Dont know why ActionForm is not sustaining old data.