Struts 1.1 - More ActionMessages than I bargined for
posted 4 years ago
I've been asked to explain a confusing situation. I'm hoping your combined wisdom and experience could shed a little light.
In a nutshell, we had an isolated incident where a page was displayed with two ActionMessages where only one should ever be possible. I have not been able to reproduce this error, and there is no history of it occurring in the past. The Action code in question controls the login logic; its basic flow is as follows:
Attempt to authenticate the given credentials
If authentication was successful, display message 'A'
If authentication failed, display message 'B'
If a technical error occurred, display message 'C'
The problem is that the page was displayed with both messages 'A' and 'B'.
I am suspecting some kind of caching problem, but I can't be sure.
Has anyone out there experienced and explained a similar issue? If not, any creative ideas/explanations would be greatly appreciated.