0

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 ?

sarah
  • 2,387
  • 13
  • 43
  • 50

1 Answers1

1
request.getSession();

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

Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140