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