Struts2+spring2時應(yīng)注意action的單實例問題
注意要設(shè)置,action bean 的 scope 的值。因為spring的bean默認(rèn)為單實例,故一定要設(shè)scope的值但不能為singleton。