Cannot expose session attribute because of an existing model object of the sa

在開發中,就一個 對象 放入了 session裏面session

在 使用 freeemarker 的時候,就 另外一個對象,以一樣的名稱 放入 modeandview 裏面對象

結果就出錯了,因此之後 這樣 呢就不要 和 session的內容屬性 重名,也儘可能少使用session 來搞事開發

相關文章
相關標籤/搜索