How to Improve JSP serving efficiency by 5-10%?


One short-term change that can improve the performance of JSP's 5-10 percent is to disable HTTP sessions for the JSP's that don't require them.

By default (by J2EE specs), JSP's create HTTP sessions to maintain state. In the areas of your application that don't require state to be maintained, insert this JSP directive:

<%@ page session="false"%>

This small tweak should help you get better performance.

No comments:

Post a Comment

Recent Posts

Popular Posts

© 2011-2019 Web Portal Club