如何理解thread-safe
看struts in action时候有如下一段:
Actions are multithreaded; there is a single instance of any given Action subclass
per application. This means that Actions must be written to be thread-safe. When
you’re writing an Action subclass, the most important thing to remember is that
class properties cannot be used to share values between member methods. If
member methods are used, then all values must be passed through the method’s
signature. This passes the values through the stack, which is thread-safe.
谁懂,给解释一下(不是翻译),谢谢