Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Release 1.4.2
-
Fix Version/s: Release 1.5
-
Component/s: ActionBean Dispatching, Tag Library
-
Labels:None
Description
As discussed on the devel-mailing list, Stripes is quite aggressive regarding the creation of a HttpSession. Attached are three patches to tame this behavior a little ![]()
The first patch is for DispatcherServlet and changes the flag to create a session in the JpsFactory#getPageContext() method call.
The other two patches correct the usage of request.getSession().getServletContext() and replace this code with the recommended version StripesFilter.getConfiguration().getServletContext() which has no side effects.
patches applied