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.
Few Things.
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.
Any pointer will be of great help.
Thanks