开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜