开发者

How Handle session using requestProcessor

开发者 https://www.devze.com 2023-01-01 14:52 出处:网络
I am working on struts,i want to know how to handle session using org.apache.struts.act开发者_C百科ion.RequestProcessor

I am working on struts,i want to know how to handle session using org.apache.struts.act开发者_C百科ion.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.

0

精彩评论

暂无评论...
验证码 换一张
取 消