Best Practice:  Not creating HttpSessions in JSPs by default
 Technote (FAQ)
 
Problem
 
Solution
It is not good practice to create HttpSessions in JSPā„¢ files by default.

JSP files create HttpSessions by default. If you don't need an HttpSession, you can enhance performance by not taking the default with a one-line JSP file directive. Lab measurements have yielded a 5% performance throughput when this default is not used.

 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Servlet Engine/Web Container
Operating system(s): Windows
Software version: 6.0
Software edition:
Reference #: 1053983
IBM Group: Software Group
Modified date: Sep 16, 2004