<rdf:RDF
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xml:base='http://wiki.marandcustomsolutions.com/rdf'>
    <s:Snip rdf:about='http://wiki.marandcustomsolutions.com/rdf#Development/Java+%26+J2EE/Tomcat/jasper-prod'
         s:cUser='mpecher'
         s:oUser=''
         s:mUser='mpecher'>
        <s:name>Development/Java &amp; J2EE/Tomcat/jasper-prod</s:name>
        <s:content>1 Tomcat JSP production configuration&#xD;&#xA;----&#xD;&#xA;More info at {link:Tomcat JSP config |http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html#Production%20Configuration}&#xD;&#xA;----&#xD;&#xA;When using Jasper 2 in a production Tomcat server you should consider making the following changes from the default configuration.&#xD;&#xA;* __development__:To disable on access checks for JSP pages compilation set this to false.&#xD;&#xA;* __genStringAsCharArray__:To generate slightly more efficient char arrays, set this to true.&#xD;&#xA;* __modificationTestInterval__:If development has to be set to true for any reason (such as dynamic generation of JSPs), setting this to a high value will improve performance a lot.&#xD;&#xA;* __trimSpaces__:To remove useless bytes from the response, set this to true.&#xD;&#xA;* __reloading__:Should Jasper check for modified JSPs?&#xD;&#xA;* __keepgenerated__:Should we keep the generated Java source code for each page instead of deleting it&#xD;&#xA;* __checkInterval__:If development is false and reloading is true, background compiles are enabled. checkInterval is the time in seconds between checks to see if a JSP page needs to be recompiled. Default 300 seconds.&#xD;&#xA;* __modificationTestInterval__:Checks for modification for a given JSP file (and all its dependent files) will be performed only once every specified amount of seconds. Setting this to 0 will cause the JSP to be checked on every access. Default is 4 seconds.&#xD;&#xA;This is all configured in tomcat&apos;s conf/web.xml which is applied to all web.xml files for all apps.\\&#xD;&#xA;Modify in __$TOMCAT_HOME/conf/web.xml__:&#xD;&#xA;{code}&#xD;&#xA;&lt;servlet&gt;&#xD;&#xA;    &lt;servlet-name&gt;jsp&lt;/servlet-name&gt;&#xD;&#xA;    &lt;servlet-class&gt;org.apache.jasper.servlet.JspServlet&lt;/servlet-class&gt;&#xD;&#xA;    &lt;init-param&gt;&#xD;&#xA;        &lt;param-name&gt;fork&lt;/param-name&gt;&#xD;&#xA;        &lt;param-value&gt;false&lt;/param-value&gt;&#xD;&#xA;    &lt;/init-param&gt;&#xD;&#xA;    &lt;init-param&gt;&#xD;&#xA;        &lt;param-name&gt;development&lt;/param-name&gt;&#xD;&#xA;        &lt;param-value&gt;false&lt;/param-value&gt;&#xD;&#xA;    &lt;/init-param&gt;&#xD;&#xA;    &lt;init-param&gt;&#xD;&#xA;        &lt;param-name&gt;genStringAsCharArray&lt;/param-name&gt;&#xD;&#xA;        &lt;param-value&gt;true&lt;/param-value&gt;&#xD;&#xA;    &lt;/init-param&gt;&#xD;&#xA;    &lt;init-param&gt;&#xD;&#xA;        &lt;param-name&gt;trimSpaces&lt;/param-name&gt;&#xD;&#xA;        &lt;param-value&gt;true&lt;/param-value&gt;&#xD;&#xA;    &lt;/init-param&gt;&#xD;&#xA;    &lt;init-param&gt;&#xD;&#xA;        &lt;param-name&gt;reloading&lt;/param-name&gt;&#xD;&#xA;        &lt;param-value&gt;false&lt;/param-value&gt;&#xD;&#xA;    &lt;/init-param&gt;&#xD;&#xA;    &lt;init-param&gt;&#xD;&#xA;        &lt;param-name&gt;keepgenerated&lt;/param-name&gt;&#xD;&#xA;        &lt;param-value&gt;false&lt;/param-value&gt;&#xD;&#xA;    &lt;/init-param&gt;&#xD;&#xA;    &lt;init-param&gt;&#xD;&#xA;        &lt;param-name&gt;checkInterval&lt;/param-name&gt;&#xD;&#xA;        &lt;param-value&gt;99999&lt;/param-value&gt;&#xD;&#xA;    &lt;/init-param&gt;    &#xD;&#xA;    &lt;init-param&gt;&#xD;&#xA;        &lt;param-name&gt;modificationTestInterval&lt;/param-name&gt;&#xD;&#xA;        &lt;param-value&gt;99999&lt;/param-value&gt;&#xD;&#xA;    &lt;/init-param&gt;&#xD;&#xA;    &lt;init-param&gt;&#xD;&#xA;        &lt;param-name&gt;xpoweredBy&lt;/param-name&gt;&#xD;&#xA;        &lt;param-value&gt;false&lt;/param-value&gt;&#xD;&#xA;    &lt;/init-param&gt;&#xD;&#xA;    &lt;load-on-startup&gt;3&lt;/load-on-startup&gt;&#xD;&#xA;&lt;/servlet&gt;&#xD;&#xA;{code}&#xD;&#xA;</s:content>
        <s:mTime>2006-08-26 14:22:51.0</s:mTime>
        <s:cTime>2006-08-26 14:22:51.0</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='#Siteminder'/>
                <rdf:li rdf:resource='#snipsnap-index'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java &amp; J2EE/Tomcat'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#bidz/apache/workers.properties'/>
                <rdf:li rdf:resource='#snipsnap-search'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#Development/Java &amp; J2EE'/>
                <rdf:li rdf:resource='http://wiki.marandcustomsolutions.com/rdf#bidz/apache/xlast_tomcat.conf'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>

