Improve HttpSession creation
----------------------------

                 Key: STS-353
                 URL: http://mc4j.org/jira/browse/STS-353
             Project: Stripes
          Issue Type: Improvement
          Components: ActionBean Dispatching, Tag Library
    Affects Versions: Release 1.4.2
            Reporter: Sebastian Beigel
         Assigned To: Tim Fennell
         Attachments: DispatcherServlet.patch

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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to