I am working on struts,i want to know how to handle session using org.apache.struts.action.RequestProcessor ? Where in have to check the existence of session throughout the app ?
request.getSession();
In the handling methods of RequestPostprocessor
you are supplied with an HttpServletRequest
attribute. You can get the session from it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.