Win a copy of Emmy in the Key of Code this week in the General Computing 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

struts + spring action message issue

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

We are using struts 1.2.9 and springs. I have one issue. Action messages (some error message and information to the user) of one user is available to another user who is also working on the application. He may do some other action.

Regards,
Siva
 
Ranch Hand
Posts: 341
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't post the same question more than once even across multiple forums.

Originally posted by siva swamy:
Hi,

We are using struts 1.2.9 and springs. I have one issue. Action messages (some error message and information to the user) of one user is available to another user who is also working on the application. He may do some other action.



So, what exactly is the problem. The messages for one user are available to another user. How, in what scenario? Can you please elaborate.
 
siva swamy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When one user clicks the save button, he will got the message "successfully saved".
At the same time when another user click a register button of the user, he will get "succesfully registered".
But when both the user click the button at same time, both the user has two messages and some time two messages are same (last message). I extend my action classes to a base action which has execute method.
 
A "dutch baby" is not a baby. But this tiny ad is baby sized:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!