Skip to content

Configuring JSP Compiler

Endi S. Dewata edited this page Feb 18, 2023 · 1 revision

Overview

The JSP compiler configuration is stored in /etc/pki/pki-tomcat/web.xml:

<web-app>

    <servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
    </servlet>

</web-app>

See Also