I have a legacy app written using STRUTS 1.3 which uses a set of frames to display content. We have a header, footer, left panel, right panel, and a center frame.
The footer has a Save button (among others). When I press Save the form executes the validate() method which checks that the user entered the fields properly. If a field is incorrect (in this case I force the error by leaving one of the dropdowns blank), an error message is added into the header stating which field is wrong.
Pressing Save works fine up to maybe 8 times out of 10 at best, or might fail 2-3 times in a row and then work.
When it works, all the frames get refreshed and the message is displayed in the header.
When it doesn’t work the entire frameset gets displayed/repeated in the center frame with the inner center frame blank/white.
The center jsp has <html:form action="/LocEndOfficeInfo.do" method="post"> in it. I have tried adding target=”center” or target=”_top” to it but doesn’t make any difference. It just randomly works or doesn’t work. Almost feels like a timing issue with the browser as it renders the frames. I’m using IE8 (only browser this app officially supports) but I also tried Firefox (latest version) and both have the problem.
Strange thing is that this app has two other center pages which are extremely similar (uses the same header, footer, etc) but never have a problem.
Any ideas on what else I can try?