Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts + Springs + Action message issue

 
siva swamy
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
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you may have coded your action classes in a non-threadsafe way. In Struts 1, actions are shared across multiple threads, so they must be coded as threadsafe. This means no instance variables unless they contain values that do not change from one user to the next.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic