如何在线程中获取spring 管理的bean

2025-03-31 18:08:49
推荐回答(1个)
回答1:

2.0中,基本上,action的scope需要是prototype,就是每次请求都建立新的线程不写的话,默认是singleton了