This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts + Springs + Action message issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts + Springs + Action message issue" Watch "Struts + Springs + Action message issue" New topic
Author

Struts + Springs + Action message issue

siva swamy
Greenhorn

Joined: Jul 12, 2007
Posts: 7
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

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts + Springs + Action message issue
 
jQuery in Action, 3rd edition