Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Struts 1.1 - More ActionMessages than I bargined for

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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.

Thanks in advance,
Geoff.
 
Looky! I'm being abducted by space aliens! Me and this tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic