yes - this is the pattern we use and trivial to put in your own webapp

For completeness ...
in web.xml
<jsp-config>
  <jsp-property-group>
    <url-pattern>*.jsp</url-pattern>
    <include-prelude>/WEB-INF/prelude1.jspf</include-prelude>
  </jsp-property-group>
</jsp-config>

prelude1.jspf contents: <%@page session='false' %>


-Tim

On Mon, Apr 23, 2012 at 5:06 PM, Konstantin Kolinko
<knst.koli...@gmail.com>wrote:

> 2012/4/24 Christopher Schultz <ch...@christopherschultz.net>:
> >
> > It might be worthwhile proposing a setting for Jasper where the
> > default "session" setting could be set to "false" (in obvious
> > violation of the servlet specification) so that JSPs must specifically
> > set session="true" in their headers, but such a patch might be very
> > far-reaching.
> >
>
> I wonder whether this is already possible to do using
> "jsp-property-group" + "include-prelude" in web.xml.
>

Reply via email to