How do you disable session creation for all JSPs with Tiles?
Is there any way to make all my JSPs not create sessions when using Jasper (Tomcat)? Apparently Jasper will create a session unless you specify not to:
<%@ page contentType="text/html;charset=UTF-8" language="java" session="false" %开发者_如何学Go>
Is there way to do this for the entire webapp (session="false")?
Its seems you can't change:
org.apache.jasper.runtime.JspFactoryImpl.getPageContext
Which will create a session unless the JSP says session=false.
This is container-specific; see this question.
精彩评论