0
我正在使用struts,我想知道如何使用org.apache.struts.action.RequestProcessor 來處理會話? 在哪裏必須檢查整個應用程序的會話的存在?如何使用requestProcessor處理會話
我正在使用struts,我想知道如何使用org.apache.struts.action.RequestProcessor 來處理會話? 在哪裏必須檢查整個應用程序的會話的存在?如何使用requestProcessor處理會話
request.getSession();
在您正在使用HttpServletRequest
屬性提供的RequestPostprocessor
的處理方法。你可以從中獲得會話。