...
The purpose of this configuration file is to integrate Spring with Struts 1.2 by defining your Struts Actions in your Spring configuration.
It should contain a bean entry for every action in your app and these beans should be defined as singletons (not true for Struts 2 projects). Since the beans are defined as singletons it is important to make sure the action is thread-safe (i.e., multiple users won't corrupt each other's data) which means the action class should not have any non-static instance variables, . Instance variables are non-local (i.e., defined within class but outside of a method, conditional statement, loop etc) non-static variables . Note that some of our actions have a static variable defined as a Logger. This is fine since static means everyone shares the same variable & value (think global variable across multiple users) and we want everyone to share a single log file. Check out this page for a discussion of instance versus static variables.
...