sarah
sarah

Reputation: 2397

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 ?

Upvotes: 0

Views: 370

Answers (1)

Bozho
Bozho

Reputation: 597076

request.getSession();

In the handling methods of RequestPostprocessor you are supplied with an HttpServletRequest attribute. You can get the session from it.

Upvotes: 1

Related Questions