简体   繁体   中英

How Handle session using requestProcessor

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM