用法:ServletActionContext.getRequest().getSession();. 但在單獨使用spring時如何在普通類中獲取session,reuqest呢? 第一種: 在web.xml增加如下程式 ...
確定! 回上一頁