static variable is a kind of global variable in the server class. All terminals are against this single server class. Certainly, they will share the same static variable. So you cannot use static variable to hold the user information. You have to use instance member variable to do it
java里有这种变量吗?
我怎么在websphere没见到,谢谢
java里有这种变量吗?
我怎么在websphere没见到,谢谢
instance member variable without and modifier before the variable name. This is very basic concepts. You need to re view Java book for them.
Good Luck!
不用每次new一个类,或者在这些类中传变量