Spring MVC的Controller是线程安全的么

2025-05-06 07:54:17
推荐回答(2个)
回答1:

SpringMVC是方法级的,没有共享属性的情况下,线程安全的。

回答2:

默认不是
要想是请使用prototype方式